|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 astart()
call
PointTime
Method Summary | |
java.lang.Number |
getAverage()
Returns the Average Value |
java.util.SortedMap |
getEntries()
Returs a sorted map of the recorded values indexed by PointTime |
java.lang.Number |
getMax()
Returns the Maximum Value |
int |
getMaxEntries()
Returns how many entries may be recorded. |
java.lang.Number |
getMin()
Returns the Minimum Value |
java.util.Date |
getRecordingStart()
Returns the date when it started recording |
boolean |
isActive()
Indicates whether the MBean is recording values |
void |
setMaxEntries(int maxEntries)
Sets the maximum entries stored in this recorder |
void |
start()
Starts recording a variable |
void |
stop()
Stops recording a variable |
Method Detail |
public java.lang.Number getMax()
public java.lang.Number getAverage()
public java.lang.Number getMin()
public int getMaxEntries()
public void setMaxEntries(int maxEntries)
public java.util.Date getRecordingStart()
public java.util.SortedMap getEntries()
public boolean isActive()
public void start()
public void stop()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |