public class TimedStatisticsRecorder extends ObserverStatisticsRecorder implements TimedStatisticsRecorderMBean
Modifier and Type | Field and Description |
---|---|
protected long |
granularity |
protected boolean |
registered |
protected mx4j.tools.stats.TimedStatisticsRecorder.CollectTask |
task |
protected static java.util.Timer |
timer |
observedAttribute, observedName
averageValue, count, entries, isActive, isDouble, maxEntries, maximumValue, minimumValue, recordingStart, server
Constructor and Description |
---|
TimedStatisticsRecorder() |
Modifier and Type | Method and Description |
---|---|
long |
getGranularity()
Returns how often the MBean will poll the variable value
|
void |
setGranularity(long granularity)
Sets how often the MBean will poll the variable value
|
protected void |
startObserving() |
protected void |
stopObserving() |
java.lang.String |
toString() |
doStart, doStop, getObservedAttribute, getObservedObject, setObservedAttribute, setObservedObject
addEntry, getAverage, getEntries, getLogger, getMax, getMaxEntries, getMin, getRecordingStart, isActive, postDeregister, postRegister, preDeregister, preRegister, setMaxEntries, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObservedAttribute, getObservedObject, setObservedAttribute, setObservedObject
getAverage, getEntries, getMax, getMaxEntries, getMin, getRecordingStart, isActive, setMaxEntries, start, stop
protected boolean registered
protected static java.util.Timer timer
protected mx4j.tools.stats.TimedStatisticsRecorder.CollectTask task
protected long granularity
public void setGranularity(long granularity)
TimedStatisticsRecorderMBean
setGranularity
in interface TimedStatisticsRecorderMBean
public long getGranularity()
TimedStatisticsRecorderMBean
getGranularity
in interface TimedStatisticsRecorderMBean
public java.lang.String toString()
toString
in class java.lang.Object
protected void startObserving() throws java.lang.Exception
startObserving
in class ObserverStatisticsRecorder
java.lang.Exception
protected void stopObserving() throws java.lang.Exception
stopObserving
in class ObserverStatisticsRecorder
java.lang.Exception