mx4j.tools.stats

Class NotificationStatisticsRecorder

public class NotificationStatisticsRecorder extends ObserverStatisticsRecorder implements NotificationListener

NotificationStatisticsRecorder records statistics of an attribute based on notifications emitted when it changes. The observed MBean has to emit notifications when the value change

Version: $Revision: 1.4 $

Field Summary
protected booleanregistered
Method Summary
voidhandleNotification(Notification notification, Object object)
protected voidstartObserving()
protected voidstopObserving()
StringtoString()

Field Detail

registered

protected boolean registered

Method Detail

handleNotification

public void handleNotification(Notification notification, Object object)

startObserving

protected void startObserving()

stopObserving

protected void stopObserving()

toString

public String toString()
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.