Package lumis.portal.monitor.jmx
Class MonitorHealth
- java.lang.Object
-
- lumis.portal.monitor.jmx.MonitorHealth
-
- All Implemented Interfaces:
MonitorHealthMBean
public class MonitorHealth extends Object implements MonitorHealthMBean
-
-
Constructor Summary
Constructors Constructor Description MonitorHealth()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getItemAddedAverageThroughput()
Health indicator of the average of the throughput of items added in monitor process queue (how many items have been added in one second).double
getItemProcessedAverageThroughput()
Health indicator of the average of the throughput of items processed in monitor process queue (how many items have been added in one second).double
getItemRejectedAverageThroughput()
Health indicator of the average of the throughput of items rejected by the monitor process queue (how many items have been rejected in one second).int
getNumberOfActiveThreads()
Health indicator of the number of currently active monitor process threads.int
getNumberOfThreads()
Health indicator of the number of monitor process threads.int
getProcessQueueMaximumSize()
Heath indicator of the monitoring process queue maximum size.int
getProcessQueueSize()
Heath indicator of the monitoring process queue size.double
getQueueAverageDuration()
Health indicator of the average of the duration an item remains on the process queue, since it was added until it is fully processed.
-
-
-
Method Detail
-
getProcessQueueSize
public int getProcessQueueSize() throws Exception
Description copied from interface:MonitorHealthMBean
Heath indicator of the monitoring process queue size.- Specified by:
getProcessQueueSize
in interfaceMonitorHealthMBean
- Returns:
- the monitoring process queue size.
- Throws:
Exception
-
getProcessQueueMaximumSize
public int getProcessQueueMaximumSize() throws Exception
Description copied from interface:MonitorHealthMBean
Heath indicator of the monitoring process queue maximum size.- Specified by:
getProcessQueueMaximumSize
in interfaceMonitorHealthMBean
- Returns:
- the monitoring process queue maximum size.
- Throws:
Exception
-
getItemAddedAverageThroughput
public double getItemAddedAverageThroughput() throws Exception
Description copied from interface:MonitorHealthMBean
Health indicator of the average of the throughput of items added in monitor process queue (how many items have been added in one second).- Specified by:
getItemAddedAverageThroughput
in interfaceMonitorHealthMBean
- Returns:
- the average of the throughput of items added in monitor process queue (how many items were added in one second).
- Throws:
Exception
-
getItemProcessedAverageThroughput
public double getItemProcessedAverageThroughput() throws Exception
Description copied from interface:MonitorHealthMBean
Health indicator of the average of the throughput of items processed in monitor process queue (how many items have been added in one second).- Specified by:
getItemProcessedAverageThroughput
in interfaceMonitorHealthMBean
- Returns:
- the average of the throughput of items processed in monitor process queue (how many items have been added in one second).
- Throws:
Exception
-
getQueueAverageDuration
public double getQueueAverageDuration() throws Exception
Description copied from interface:MonitorHealthMBean
Health indicator of the average of the duration an item remains on the process queue, since it was added until it is fully processed.- Specified by:
getQueueAverageDuration
in interfaceMonitorHealthMBean
- Returns:
- the average of the duration an item remains on the process queue, since it was added until it is fully processed.
- Throws:
Exception
-
getItemRejectedAverageThroughput
public double getItemRejectedAverageThroughput() throws Exception
Description copied from interface:MonitorHealthMBean
Health indicator of the average of the throughput of items rejected by the monitor process queue (how many items have been rejected in one second).- Specified by:
getItemRejectedAverageThroughput
in interfaceMonitorHealthMBean
- Returns:
- the average of the throughput of items rejected by the monitor process queue (how many items have been rejected in one second).
- Throws:
Exception
-
getNumberOfThreads
public int getNumberOfThreads()
Description copied from interface:MonitorHealthMBean
Health indicator of the number of monitor process threads.- Specified by:
getNumberOfThreads
in interfaceMonitorHealthMBean
- Returns:
- the number of monitor process threads.
-
getNumberOfActiveThreads
public int getNumberOfActiveThreads()
Description copied from interface:MonitorHealthMBean
Health indicator of the number of currently active monitor process threads.- Specified by:
getNumberOfActiveThreads
in interfaceMonitorHealthMBean
- Returns:
- the number of currently active monitor process threads.
-
-