|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectetm.core.aggregation.RootAggregator
public class RootAggregator
An Aggregator that cumulates results, supports both nested and flat aggregation.
| Field Summary | |
|---|---|
protected java.util.Map |
aggregates
|
protected EtmMonitorContext |
ctx
|
| Constructor Summary | |
|---|---|
RootAggregator()
|
|
| Method Summary | |
|---|---|
void |
add(EtmPoint point)
Adds a new EtmPoint to the aggregator. |
void |
flush()
Flushes the current aggregation details. |
protected ExecutionAggregate |
getAggregate(java.lang.String aName)
|
AggregatorMetaData |
getMetaData()
Returns detailed information about the aggregator chain. |
void |
init(EtmMonitorContext aCtx)
Lifecycle Method, will be called before Aggregator.start(), after initalization of
the current EtmMonitor runtime. |
void |
render(MeasurementRenderer renderer)
Renders the current state of the aggregator using the provided renderer instance. |
void |
reset()
Resets the internal aggregator state. |
void |
reset(java.lang.String symbolicName)
Resets the internal aggregator state for a etm point. |
void |
start()
Lifecycle method, will be called after all Aggregator instances are initialized by calling Aggregator.init(etm.core.monitor.EtmMonitorContext) and before the
EtmMonitor instance will becomes available. |
void |
stop()
Lifecycle method, will be called after the EtmMonitor instance was shutdown. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map aggregates
protected EtmMonitorContext ctx
| Constructor Detail |
|---|
public RootAggregator()
| Method Detail |
|---|
public void reset()
Aggregator
reset in interface Aggregatorpublic void reset(java.lang.String symbolicName)
Aggregator
reset in interface AggregatorsymbolicName - The name of the etm point to be resetted.public void render(MeasurementRenderer renderer)
Aggregator
render in interface Aggregatorrenderer - The renderer.public void flush()
Aggregator
flush in interface Aggregatorpublic AggregatorMetaData getMetaData()
Aggregator
getMetaData in interface Aggregatorpublic void start()
AggregatorAggregator.init(etm.core.monitor.EtmMonitorContext) and before the
EtmMonitor instance will becomes available.
start in interface Aggregatorpublic void stop()
Aggregator
stop in interface Aggregatorpublic void init(EtmMonitorContext aCtx)
AggregatorAggregator.start(), after initalization of
the current EtmMonitor runtime. Be aware that Plugins are instantiated, but not
started at this point.
init in interface AggregatoraCtx - The current EtmMonitor Context.public void add(EtmPoint point)
Aggregator
add in interface Aggregatorpoint - A new collected EtmPoint.protected ExecutionAggregate getAggregate(java.lang.String aName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||