public class SingleLineUimaJmxMonitorListener extends Object implements JmxMonitorListener
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 and Description |
---|
SingleLineUimaJmxMonitorListener()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
onNewMetrics(long sampleTime,
ServiceMetrics[] metrics)
Callback method called by the JmxMonitor after each checkpoint.
|
public SingleLineUimaJmxMonitorListener()
public void onNewMetrics(long sampleTime, ServiceMetrics[] metrics)
onNewMetrics
in interface JmxMonitorListener
sampleTime
- - last checkpoint timemetrics
- - an array of ServiceMetrics objects, each holding metrics for a specific UIMA AS
service.Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.