de.intarsys.tools.monitor
Class CompositeMonitor
java.lang.Object
de.intarsys.tools.monitor.AbstractMonitor
de.intarsys.tools.monitor.CompositeMonitor
- All Implemented Interfaces:
- IElementConfigurable, IMonitor
public class CompositeMonitor
- extends AbstractMonitor
| 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 |
CompositeMonitor
public CompositeMonitor()
CompositeMonitor
public CompositeMonitor(String name)
addMonitor
public void addMonitor(IMonitor monitor)
configure
public void configure(Element element)
throws ElementConfigurationException
- Specified by:
configure in interface IElementConfigurable- Overrides:
configure in class AbstractMonitor
- Throws:
ElementConfigurationException
getChildren
public IMonitor[] getChildren()
getData
public Map getData()
- Description copied from interface:
IMonitor
- A map containing key/value pairs representing all statistical
informations derived from the samples.
- Returns:
- A map containing key/value pairs representing all statistical
informations derived from the samples.
getFormattedData
public Map getFormattedData()
- Description copied from interface:
IMonitor
- A map containing key/value pairs with string representations for the
statistical information from
getData.
- Returns:
- A map containing key/value pairs with string representations for
the statistical information from
getData.
reset
public void reset()
- Description copied from interface:
IMonitor
- Reset all information in this monitor.
- Specified by:
reset in interface IMonitor- Overrides:
reset in class AbstractMonitor
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.