de.intarsys.tools.monitor
Class CounterMonitor
java.lang.Object
de.intarsys.tools.monitor.AbstractMonitor
de.intarsys.tools.monitor.Monitor
de.intarsys.tools.monitor.CounterMonitor
- All Implemented Interfaces:
- IElementConfigurable, IMonitor
public class CounterMonitor
- extends Monitor
A monitor for taking time samples in the application.
| Methods inherited from class de.intarsys.tools.monitor.AbstractMonitor |
attach, detach, getCollectAll, getCurrentTrace, getDefaultLevel, getLevel, getLogCycle, getLogger, getName, getTraces, setCollectAll, setDefaultLevel, setLevel, setLogCycle, setLogger, setName, start, stop |
CounterMonitor
public CounterMonitor()
CounterMonitor
public CounterMonitor(String name)
- Create instance
- Parameters:
name - monitor name
CounterMonitor
public CounterMonitor(String name,
Counter counter)
configure
public void configure(Element element)
throws ElementConfigurationException
- Specified by:
configure in interface IElementConfigurable- Overrides:
configure in class Monitor
- Throws:
ElementConfigurationException
getCounter
public Counter getCounter()
- Returns:
- Returns the counter.
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.