| |
|
| mx4j.tools.stats.StatisticsRecorderMBean
All known Subclasses: mx4j.tools.stats.AbstractStatisticsRecorder,
StatisticsRecorderMBean | public interface StatisticsRecorderMBean (Code) | | Management interface to be implemented by recorder MBeans.
RecorderMBeans store a value and also keep statistics about the given value.
Different implementations can determine how to acquire and calculate the value.
The MBean doesn't starts automatically. It has to wait for a
StatisticsRecorderMBean.start call
version: $Revision: 1.4 $ See Also: PointTime |
getAverage | public Number getAverage()(Code) | | Returns the Average Value
|
getEntries | public SortedMap getEntries()(Code) | | Returs a sorted map of the recorded values indexed by PointTime
|
getMax | public Number getMax()(Code) | | Returns the Maximum Value
|
getMaxEntries | public int getMaxEntries()(Code) | | Returns how many entries may be recorded. When the maximum amount is
reached the default behaviour is to forget the oldest one
|
getMin | public Number getMin()(Code) | | Returns the Minimum Value
|
getRecordingStart | public Date getRecordingStart()(Code) | | Returns the date when it started recording
|
isActive | public boolean isActive()(Code) | | Indicates whether the MBean is recording values
|
setMaxEntries | public void setMaxEntries(int maxEntries)(Code) | | Sets the maximum entries stored in this recorder
|
start | public void start()(Code) | | Starts recording a variable
|
stop | public void stop()(Code) | | Stops recording a variable
|
|
|
|