|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EtmMonitor
An EtmMonitor is responsible for collecting and aggregating Measurements Point information. Currently JETM provides three different EtmMonitor types: The
FlatMonitor for flat
collection, the NestedMonitor for nested collection
and the NullMonitor for no collection at all.
See EtmPoint for EtmMonitor usage.
EtmMonitor implementations have to provide at least one of the following constructors
EtmPoint| Method Summary | |
|---|---|
void |
addPlugin(EtmPlugin aEtmPlugin)
Adds a new plugin which is part of the EtmMonitor lifecycle. |
void |
aggregate()
Aggregates the current measurement details. |
EtmPoint |
createPoint(java.lang.String symbolicName)
Creates a new EtmPoint with the given name. |
void |
disableCollection()
Disables result collection. |
void |
enableCollection()
Enables result collection. |
EtmMonitorMetaData |
getMetaData()
Returns metadata for the monitor. |
boolean |
isCollecting()
Returns whether the given monitor instance is collecting results right now. |
boolean |
isStarted()
Returns wether the monitor is started or not. |
void |
render(MeasurementRenderer renderer)
Renders the current measurement results. |
void |
reset()
Resets all available measurements. |
void |
reset(java.lang.String symbolicName)
Resets a specific measurement. |
void |
setPlugins(java.util.List plugins)
Adds a list of plugins. |
void |
start()
Starts the EtmMonitor. |
void |
stop()
Stops the EtmMonitor. |
| Method Detail |
|---|
EtmPoint createPoint(java.lang.String symbolicName)
symbolicName - The symbolic name or null. Ensure to call EtmPoint.alterName(String)
before collection if symbolic name was null.
void aggregate()
void render(MeasurementRenderer renderer)
renderer - A measurement renderer.void reset()
void reset(java.lang.String symbolicName)
symbolicName - The symbolic name of the measurement to reset.EtmMonitorMetaData getMetaData()
void start()
void stop()
boolean isStarted()
void enableCollection()
void disableCollection()
boolean isCollecting()
void addPlugin(EtmPlugin aEtmPlugin)
aEtmPlugin - The new EtmPlugin.void setPlugins(java.util.List plugins)
plugins - A list of EtmPlugin.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||