| java.lang.Object javax.management.NotificationBroadcasterSupport javax.management.monitor.Monitor
All known Subclasses: javax.management.monitor.GaugeMonitor, javax.management.monitor.CounterMonitor, javax.management.monitor.StringMonitor,
Method Summary | |
public void | addObservedObject(ObjectName object) | public boolean | containsObservedObject(ObjectName object) | ObservedObject | getFirstObservedObject() | public long | getGranularityPeriod() | public String | getObservedAttribute() | public ObjectName | getObservedObject() | public ObjectName[] | getObservedObjects() | void | initObservedObject(ObservedObject object) | public synchronized boolean | isActive() | synchronized long | nextSeqNo() | public void | postDeregister() | public void | postRegister(Boolean registrationDone) | public void | preDeregister() | public ObjectName | preRegister(MBeanServer server, ObjectName objectName) | public void | removeObservedObject(ObjectName object) | void | resetAlreadyNotified() | ObservedObject | retrieveObservedObject(ObjectName name) | Map | retrieveObservedObjects() | void | sendAttributeErrorNotification(ObservedObject object, String message) Send an attribute error notification. | void | sendAttributeTypeErrorNotification(ObservedObject object, String message) Send an attribute type error notification. | void | sendNotification(ObservedObject object, String type, long timestamp, String message, String attribute, Object gauge, Object trigger) | void | sendObjectErrorNotification(ObservedObject object, String message) Send an object error notification. | void | sendRuntimeErrorNotification(ObservedObject object, String message) Send a runtime error notification. | public void | setGranularityPeriod(long period) | public void | setObservedAttribute(String attribute) | public void | setObservedObject(ObjectName object) | abstract public void | start() | abstract public void | stop() | public String | toString() |
OBSERVED_ATTRIBUTE_ERROR_NOTIFIED | final protected static int OBSERVED_ATTRIBUTE_ERROR_NOTIFIED(Code) | | An observed attribute error has been notified.
|
OBSERVED_ATTRIBUTE_TYPE_ERROR_NOTIFIED | final protected static int OBSERVED_ATTRIBUTE_TYPE_ERROR_NOTIFIED(Code) | | An observed attribute type error has been notified.
|
OBSERVED_OBJECT_ERROR_NOTIFIED | final protected static int OBSERVED_OBJECT_ERROR_NOTIFIED(Code) | | An observed object error has been notified.
|
RUNTIME_ERROR_NOTIFIED | final protected static int RUNTIME_ERROR_NOTIFIED(Code) | | An observed attribute type error has been notified.
|
active | boolean active(Code) | | Whether the service is active.
|
alreadyNotifieds | protected int[] alreadyNotifieds(Code) | | The errors that have already been notified.
|
capacityIncrement | final protected static int capacityIncrement(Code) | | The amount by which arrays are incremented.
|
elementCount | protected int elementCount(Code) | | The number of valid elements in the arrays.
|
granularityPeriod | long granularityPeriod(Code) | | The granularity period.
|
observedAttribute | String observedAttribute(Code) | | The observed attribute.
|
observedObjects | ConcurrentHashMap observedObjects(Code) | | The observed objects.
|
containsObservedObject | public boolean containsObservedObject(ObjectName object)(Code) | | |
getFirstObservedObject | ObservedObject getFirstObservedObject()(Code) | | retrieve the first observed objects
|
getGranularityPeriod | public long getGranularityPeriod()(Code) | | |
getObservedAttribute | public String getObservedAttribute()(Code) | | |
isActive | public synchronized boolean isActive()(Code) | | |
nextSeqNo | synchronized long nextSeqNo()(Code) | | |
postDeregister | public void postDeregister()(Code) | | |
postRegister | public void postRegister(Boolean registrationDone)(Code) | | |
resetAlreadyNotified | void resetAlreadyNotified()(Code) | | Reset the already notifieds
|
retrieveObservedObjects | Map retrieveObservedObjects()(Code) | | retrieve the observed objects
|
sendAttributeErrorNotification | void sendAttributeErrorNotification(ObservedObject object, String message)(Code) | | Send an attribute error notification.
Parameters: object - the observedObject. Parameters: message - the human readable message to send. |
sendAttributeTypeErrorNotification | void sendAttributeTypeErrorNotification(ObservedObject object, String message)(Code) | | Send an attribute type error notification.
Parameters: object - the observedObject. Parameters: message - the human readable message to send. |
sendNotification | void sendNotification(ObservedObject object, String type, long timestamp, String message, String attribute, Object gauge, Object trigger)(Code) | | Sends the notification
Parameters: object - the observedObject. Parameters: type - the notification type. Parameters: timestamp - the time of the notification. Parameters: message - the human readable message to send. Parameters: attribute - the attribute name. Parameters: gauge - the derived gauge. Parameters: trigger - the trigger value. |
sendObjectErrorNotification | void sendObjectErrorNotification(ObservedObject object, String message)(Code) | | Send an object error notification.
Parameters: object - the observedObject. Parameters: message - the human readable message to send. |
sendRuntimeErrorNotification | void sendRuntimeErrorNotification(ObservedObject object, String message)(Code) | | Send a runtime error notification.
Parameters: object - the observedObject. Parameters: message - the human readable message to send. |
start | abstract public void start()(Code) | | |
stop | abstract public void stop()(Code) | | |
|
|