|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMonitor
A monitor allows "monitoring" events along thread as a sequence of samples.
| Method Summary | |
|---|---|
ITrace |
attach()
Attach this IMonitor to the current Thread. |
void |
detach()
Detach this IMonitor from the current Thread. |
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. |
| Method Detail |
|---|
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()
IMonitor from the current Thread. This call
terminates the current ITrace instance.
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()
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||