Package org.apache.uima.aae.jmx.monitor
Class SingleLineUimaJmxMonitorListener
java.lang.Object
org.apache.uima.aae.jmx.monitor.SingleLineUimaJmxMonitorListener
- All Implemented Interfaces:
JmxMonitorListener
This class implements
JmxMonitorListener
interface. It provides basic formatting for
UIMA-AS service metrics. All metrics are formatted and logged into a uima log if one is defined.
Otherwise, the output is dumped to stdout.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewMetrics
(long sampleTime, ServiceMetrics[] metrics) Callback method called by the JmxMonitor after each checkpoint.
-
Constructor Details
-
SingleLineUimaJmxMonitorListener
public SingleLineUimaJmxMonitorListener()Constructor
-
-
Method Details
-
onNewMetrics
Callback method called by the JmxMonitor after each checkpoint.- Specified by:
onNewMetrics
in interfaceJmxMonitorListener
- Parameters:
sampleTime
- - last checkpoint timemetrics
- - an array of ServiceMetrics objects, each holding metrics for a specific UIMA AS service.
-