etm.core.monitor
Class FlatMonitor
java.lang.Object
etm.core.monitor.EtmMonitorSupport
etm.core.monitor.FlatMonitor
- All Implemented Interfaces:
- EtmMonitor, AggregationStateListener, EtmMonitorListener
public class FlatMonitor
- extends EtmMonitorSupport
The FlatMonitor records all measurement points separately even if they
are nested.
- Version:
- $Revision: 109 $
- Author:
- void.fm
| Methods inherited from class etm.core.monitor.EtmMonitorSupport |
addPlugin, aggregate, createPoint, disableCollection, enableCollection, getDefaultAggregator, getMetaData, isCollecting, isStarted, onStateLoaded, render, reset, reset, setPlugins, shutdownPlugins, start, startPlugins, stop, visitPostCollect, visitPreMeasurement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FlatMonitor
public FlatMonitor()
FlatMonitor
public FlatMonitor(ExecutionTimer aTimer)
- Creates a new flat monitor instance.
- Parameters:
aTimer - The timer to use.
FlatMonitor
public FlatMonitor(Aggregator aAggregator)
FlatMonitor
public FlatMonitor(ExecutionTimer aTimer,
Aggregator aAggregator)
doVisitPreMeasurement
protected void doVisitPreMeasurement(MeasurementPoint measurementPoint)
- Description copied from class:
EtmMonitorSupport
-
Callback method for derived classes.
This method is called immediately after the measurement point was created. Note that
neither
MeasurementPoint.getTicks() nor MeasurementPoint.getStartTime() are set
at that point.
- Specified by:
doVisitPreMeasurement in class EtmMonitorSupport
- Parameters:
measurementPoint - The measurement point just created.
doVisitPostCollect
protected void doVisitPostCollect(MeasurementPoint aPoint)
- Description copied from class:
EtmMonitorSupport
-
Callback method for derived classes.
This method is called immediately after the measurement point was collected and marked as
closed. At that point the all required information are valid for that measurement point.
- Specified by:
doVisitPostCollect in class EtmMonitorSupport
- Parameters:
aPoint - The point to collect.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.