| java.lang.Object java.util.EventObject javax.management.Notification javax.management.monitor.MonitorNotification
MonitorNotification | public class MonitorNotification extends Notification (Code) | | A notification from one of the monitor services.
The notification occurs only when the state is first entered.
All monitor services produce the following notifications.
The counter monitor produces the following notifications.
The gauge monitor produces the following notifications.
The string monitor produces the following notifications.
author: Adrian Brock version: $Revision: 57200 $ version: Revisions: version: 20020816 Adrian Brock: version: version: - Serialization
version:
|
OBSERVED_ATTRIBUTE_ERROR | final public static String OBSERVED_ATTRIBUTE_ERROR(Code) | | Notification type when an MBean doesn't contain the specified
attribute. The observed object name and observed attribute name
are sent in the notification.
|
OBSERVED_ATTRIBUTE_TYPE_ERROR | final public static String OBSERVED_ATTRIBUTE_TYPE_ERROR(Code) | | Notification type when an attribute is null or the attribute has
an incorrect type for the monitor service. The observed object name
and observed attribute name are sent in the notification.
|
OBSERVED_OBJECT_ERROR | final public static String OBSERVED_OBJECT_ERROR(Code) | | Notification type when an MBean is not registered. The observed object
name is sent in the notification.
|
RUNTIME_ERROR | final public static String RUNTIME_ERROR(Code) | | Notification type for any other error.
|
STRING_TO_COMPARE_VALUE_DIFFERED | final public static String STRING_TO_COMPARE_VALUE_DIFFERED(Code) | | Notification type when an attribute no longer matches the specified
value of a StringMonitor. The observed object name, observed attribute
name, derived gauge (actual value) and trigger (monitor value) are
sent in the notification.
REVIEW: Verify this.
|
STRING_TO_COMPARE_VALUE_MATCHED | final public static String STRING_TO_COMPARE_VALUE_MATCHED(Code) | | Notification type when an attribute changes to match the specified
value of a StringMonitor. The observed object name, observed attribute
name, derived gauge (actual value) and trigger (monitor value) are
sent in the notification.
REVIEW: Verify this.
|
THRESHOLD_ERROR | final public static String THRESHOLD_ERROR(Code) | | Notification type when an attribute's threshold parameters (threshold,
low threshold, high threshold, offset or modules) are not of the
correct type. The observed object name and observed attribute
are sent in the notification.
REVIEW: Verify this.
|
THRESHOLD_HIGH_VALUE_EXCEEDED | final public static String THRESHOLD_HIGH_VALUE_EXCEEDED(Code) | | Notification type when a guage attribute changes to exceed the
specified threshold high value. The observed object name,
observed attribute name, derived gauge (actual value) and
trigger (threshold value) are sent in the notification.
REVIEW: Verify this.
|
THRESHOLD_LOW_VALUE_EXCEEDED | final public static String THRESHOLD_LOW_VALUE_EXCEEDED(Code) | | Notification type when a gauge attribute changes to exceed the
specified threshold low value. The observed object name,
observed attribute name, derived gauge (actual value) and
trigger (threshold value) are sent in the notification.
REVIEW: Verify this.
|
THRESHOLD_VALUE_EXCEEDED | final public static String THRESHOLD_VALUE_EXCEEDED(Code) | | Notification type when a counter attribute changes to exceed the
specified threshold value. The observed object name, observed attribute
name, derived gauge (actual value) and trigger (threshold value) are
sent in the notification.
REVIEW: Verify this.
|
MonitorNotification | MonitorNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, Object derivedGauge, String observedAttribute, ObjectName observedObject, Object trigger)(Code) | | Construct a new monitor notification.
Parameters: type - the notification type. Parameters: source - the notification source. Parameters: sequenceNumber - the notification sequence within the source object. Parameters: timeStamp - the time the notification was sent. Parameters: message - the detailed message. Parameters: derivedGauge - the actual value. Parameters: observedAttribute - the monitored attribute. Parameters: observedObject - the monitored MBean. Parameters: trigger - the value monitor value. |
getDerivedGauge | public Object getDerivedGauge()(Code) | | Retrieves the derived gauge. See each monitor service for
the definition of this value.
the derived gauge. |
getObservedAttribute | public String getObservedAttribute()(Code) | | Retrieves the name of the attribute monitored.
the name of the monitored attribute. |
getObservedObject | public ObjectName getObservedObject()(Code) | | Retrieves the name of the MBean monitored.
the registered object name. |
getTrigger | public Object getTrigger()(Code) | | Retrieves the trigger value of the notification. See each monitor
service for the values that trigger notifications.
the trigger. |
toString | public String toString()(Code) | | human readable string. |
|
|