public class NotificationStatisticsRecorder extends ObserverStatisticsRecorder implements javax.management.NotificationListener
Modifier and Type | Field and Description |
---|---|
protected boolean |
registered |
observedAttribute, observedName
averageValue, count, entries, isActive, isDouble, maxEntries, maximumValue, minimumValue, recordingStart, server
Constructor and Description |
---|
NotificationStatisticsRecorder() |
Modifier and Type | Method and Description |
---|---|
void |
handleNotification(javax.management.Notification notification,
java.lang.Object object)
Called when a notification occurs.
|
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
getAverage, getEntries, getMax, getMaxEntries, getMin, getRecordingStart, isActive, setMaxEntries, start, stop
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
public void handleNotification(javax.management.Notification notification, java.lang.Object object)
javax.management.NotificationListener
handleNotification
in interface javax.management.NotificationListener
notification
- The notification objectobject
- Helps in associating information regarding the listener.public java.lang.String toString()
toString
in class java.lang.Object