|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectetm.core.aggregation.NotifyingAggregator
public class NotifyingAggregator
An aggregator that creates CollectEvents for every new
collected EtmPoint. Always use in conjunction with a buffering
aggregator such as BufferedThresholdAggregator or
BufferedTimedAggregator. We recommend using the interval based
BufferedTimedAggregator.
| Constructor Summary | |
|---|---|
NotifyingAggregator(Aggregator aDelegate)
|
|
| Method Summary | |
|---|---|
void |
add(EtmPoint point)
Adds a new EtmPoint to the aggregator. |
void |
flush()
Flushes the current aggregation details. |
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 |
setFilterPattern(java.lang.String pattern)
|
void |
setRootOnly(boolean aRootOnly)
If rootOnly is enabled, only measurement roots will create an event. |
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 |
| Constructor Detail |
|---|
public NotifyingAggregator(Aggregator aDelegate)
| Method Detail |
|---|
public void setRootOnly(boolean aRootOnly)
aRootOnly - True to notify on root collections only. Default is false.public void setFilterPattern(java.lang.String pattern)
public void add(EtmPoint point)
Aggregator
add in interface Aggregatorpoint - A new collected EtmPoint.public void flush()
Aggregator
flush in interface Aggregatorpublic 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 AggregatorMetaData getMetaData()
Aggregator
getMetaData 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 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 Aggregator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||