Package lumis.portalmanagement.jmx
Class Health
- java.lang.Object
-
- lumis.portalmanagement.jmx.Health
-
- All Implemented Interfaces:
HealthMBean
public class Health extends java.lang.Object implements HealthMBean
Managed bean implementation that exposes health indicators.- Since:
- 11.2.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description Health()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAvgWebResourceRenderDurationOfLastFiveMinutes()
Health indicator of the average render time of the web resources, in the last five minutes.int
getBigDataRepositoryErrorLevel()
Health indicator of the big data cluster status.long
getDatabaseLatency()
Health indicator of the latency of the used database.double
getLoadAveragePerProc()
Returns the System Load Average per Available Core Processors.long
getNumberOfCachedPagesExpiredSince5m()
Returns the number of cached pages expired under five minutes ago.int
getNumberOfCachedPagesWithError()
Health indicator for the number of page cache with error.int
getNumberOfClocksExecutingMoreThanTwoMinutes()
Health indicator of the number of clocks running more than two minutes.int
getNumberOfLocks15SecondsOld()
Health indicator of the number of locks creates in more than fifty seconds.long
getNumberOfMonitoredUsers()
Returns the number o monitored users.int
getNumberOfPortalCachesFull()
Health indicator of the number of portal cache with full capacity.long
getNumberOfRegisteredUsers()
Returns the number o registered users.long
getNumberOfStandardGroupMembers()
Returns the number of standard group members.long
getNumberOfWebResources()
Returns the number of web resources.int
getProcessQueueFailedItems()
Health indicator of the process queue statistics, this is for retrieve the number of failed items in queue.int
getProcessQueueQueuedItems()
Health indicator of the process queue statistics, this is for retrieve the number of waiting items in queue.int
getProcessQueueRunningItems()
Health indicator of the process queue statistics, this is for retrieve the number of running items in queue.int
getProcessQueueScheduleItems()
Health indicator of the process queue statistics, this is for retrieve the number of schedule items in queue.int
getProcessQueueTotalProcess()
Health indicator of the process queue statistics, this is for retrieve the total number of items in queue.
-
-
-
Method Detail
-
getDatabaseLatency
public long getDatabaseLatency() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the latency of the used database.- Specified by:
getDatabaseLatency
in interfaceHealthMBean
- Returns:
- The latency of the database(in milliseconds).
- Throws:
java.lang.Exception
-
getNumberOfCachedPagesWithError
public int getNumberOfCachedPagesWithError() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator for the number of page cache with error.- Specified by:
getNumberOfCachedPagesWithError
in interfaceHealthMBean
- Returns:
- The count of page cache with error.
- Throws:
java.lang.Exception
-
getNumberOfClocksExecutingMoreThanTwoMinutes
public int getNumberOfClocksExecutingMoreThanTwoMinutes() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the number of clocks running more than two minutes.- Specified by:
getNumberOfClocksExecutingMoreThanTwoMinutes
in interfaceHealthMBean
- Returns:
- The count of clock running more than two minutes.
- Throws:
java.lang.Exception
-
getNumberOfLocks15SecondsOld
public int getNumberOfLocks15SecondsOld() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the number of locks creates in more than fifty seconds.- Specified by:
getNumberOfLocks15SecondsOld
in interfaceHealthMBean
- Returns:
- The count of lock with lifetime higher than fifty seconds
- Throws:
java.lang.Exception
-
getAvgWebResourceRenderDurationOfLastFiveMinutes
public long getAvgWebResourceRenderDurationOfLastFiveMinutes() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the average render time of the web resources, in the last five minutes.- Specified by:
getAvgWebResourceRenderDurationOfLastFiveMinutes
in interfaceHealthMBean
- Returns:
- the average render time of the web resources.
- Throws:
java.lang.Exception
-
getNumberOfPortalCachesFull
public int getNumberOfPortalCachesFull() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the number of portal cache with full capacity.- Specified by:
getNumberOfPortalCachesFull
in interfaceHealthMBean
- Returns:
- The count of full capacity portal cache.
- Throws:
java.lang.Exception
-
getProcessQueueTotalProcess
public int getProcessQueueTotalProcess() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the process queue statistics, this is for retrieve the total number of items in queue.- Specified by:
getProcessQueueTotalProcess
in interfaceHealthMBean
- Returns:
- The total of items in queue;
- Throws:
java.lang.Exception
-
getProcessQueueRunningItems
public int getProcessQueueRunningItems() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the process queue statistics, this is for retrieve the number of running items in queue.- Specified by:
getProcessQueueRunningItems
in interfaceHealthMBean
- Returns:
- The number of running items in queue;
- Throws:
java.lang.Exception
-
getProcessQueueScheduleItems
public int getProcessQueueScheduleItems() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the process queue statistics, this is for retrieve the number of schedule items in queue.- Specified by:
getProcessQueueScheduleItems
in interfaceHealthMBean
- Returns:
- The number of schedule items in queue;
- Throws:
java.lang.Exception
-
getProcessQueueQueuedItems
public int getProcessQueueQueuedItems() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the process queue statistics, this is for retrieve the number of waiting items in queue.- Specified by:
getProcessQueueQueuedItems
in interfaceHealthMBean
- Returns:
- The number of waiting items in queue;
- Throws:
java.lang.Exception
-
getProcessQueueFailedItems
public int getProcessQueueFailedItems() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the process queue statistics, this is for retrieve the number of failed items in queue.- Specified by:
getProcessQueueFailedItems
in interfaceHealthMBean
- Returns:
- The number of failed items in queue;
- Throws:
java.lang.Exception
-
getBigDataRepositoryErrorLevel
public int getBigDataRepositoryErrorLevel() throws java.lang.Exception
Description copied from interface:HealthMBean
Health indicator of the big data cluster status.- Specified by:
getBigDataRepositoryErrorLevel
in interfaceHealthMBean
- Returns:
- the error level of the repository: 0 if green, 1 if yellow, 2 if red and will return -1 if was unable to evaluate the repository status;
- Throws:
java.lang.Exception
-
getLoadAveragePerProc
public double getLoadAveragePerProc() throws java.lang.Exception
Description copied from interface:HealthMBean
Returns the System Load Average per Available Core Processors.- Specified by:
getLoadAveragePerProc
in interfaceHealthMBean
- Returns:
- the System Load Average per Available Core Processors.
- Throws:
java.lang.Exception
-
getNumberOfRegisteredUsers
public long getNumberOfRegisteredUsers() throws java.lang.Exception
Description copied from interface:HealthMBean
Returns the number o registered users.- Specified by:
getNumberOfRegisteredUsers
in interfaceHealthMBean
- Returns:
- the number o registered users.
- Throws:
java.lang.Exception
-
getNumberOfMonitoredUsers
public long getNumberOfMonitoredUsers() throws java.lang.Exception
Description copied from interface:HealthMBean
Returns the number o monitored users.- Specified by:
getNumberOfMonitoredUsers
in interfaceHealthMBean
- Returns:
- the number o monitored users.
- Throws:
java.lang.Exception
-
getNumberOfStandardGroupMembers
public long getNumberOfStandardGroupMembers() throws java.lang.Exception
Description copied from interface:HealthMBean
Returns the number of standard group members.- Specified by:
getNumberOfStandardGroupMembers
in interfaceHealthMBean
- Returns:
- the number of standard group members.
- Throws:
java.lang.Exception
-
getNumberOfWebResources
public long getNumberOfWebResources() throws java.lang.Exception
Description copied from interface:HealthMBean
Returns the number of web resources.- Specified by:
getNumberOfWebResources
in interfaceHealthMBean
- Returns:
- the number of web resources.
- Throws:
java.lang.Exception
-
getNumberOfCachedPagesExpiredSince5m
public long getNumberOfCachedPagesExpiredSince5m() throws java.lang.Exception
Description copied from interface:HealthMBean
Returns the number of cached pages expired under five minutes ago.- Specified by:
getNumberOfCachedPagesExpiredSince5m
in interfaceHealthMBean
- Returns:
- the number of cached pages expired under five minutes ago.
- Throws:
java.lang.Exception
-
-