public class CounterMonitor extends Monitor
ATTR_AVG, ATTR_COUNT, ATTR_EFFECTIVE, ATTR_FIRST, ATTR_LAST, ATTR_MAX, ATTR_MAXACTIVE, ATTR_MIN, ATTR_NAME, ATTR_TOTAL| Constructor and Description |
|---|
CounterMonitor() |
CounterMonitor(String name)
Create instance
|
CounterMonitor(String name,
Counter counter) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(IElement element) |
Counter |
getCounter() |
getActive, getData, getFormattedData, isRelative, reset, setRelative, toString, toTableStringattach, detach, getCollectAll, getCurrentTrace, getDefaultLevel, getLevel, getLogCycle, getLogger, getName, getTraces, setCollectAll, setDefaultLevel, setLevel, setLogCycle, setLogger, setName, start, stoppublic CounterMonitor()
public CounterMonitor(String name)
name - monitor namepublic void configure(IElement element) throws ConfigurationException
configure in interface IElementConfigurableconfigure in class MonitorConfigurationExceptionpublic Counter getCounter()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.