public interface IMonitor
| Modifier and Type | Method and Description |
|---|---|
ITrace |
attach()
|
void |
detach()
|
ITrace |
getCurrentTrace()
Return an
ITrace that is currently under construction. |
Map |
getData()
A map containing key/value pairs representing all statistical
informations derived from the samples.
|
Map |
getFormattedData()
A map containing key/value pairs with string representations for the
statistical information from
getData. |
Logger |
getLogger()
The associated
Logger instance. |
String |
getName()
The name of this monitor.
|
List<ITrace> |
getTraces()
A list of
ITrace instances. |
void |
reset()
Reset all information in this monitor.
|
ITrace attach()
IMonitor to the current Thread.
Calling this method indicates the beginning of a measuring period
represented by a ITrace. This method must always be paired with a
call to "detach()".
void detach()
ITrace getCurrentTrace()
ITrace that is currently under construction.ITrace that is currently under construction.Map getData()
Map getFormattedData()
getData.getData.Logger getLogger()
Logger instance.Logger instance.String getName()
List<ITrace> getTraces()
ITrace instances.
This may be null if no traces are stored (see setCollectAll()).
ITrace instances.void reset()
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.