API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management.monitor. MonitorNotification View Source
Author(s)
Sun Microsystems, Inc
Since
1.5
Version
4.23 11/17/05
Serial
Hierarchy
 Object
      EventObject
          Notification
              MonitorNotification
Implements
Subclasses
Description
public class MonitorNotification
  Provides definitions of the notifications sent by monitor MBeans.
See also:   
Constructors
pack-private MonitorNotification (String type, Object source, long sequenceNumber, long timeStamp, String msg, ObjectName obsObj, String obsAtt, Object derGauge, Object trigger)
  Creates a monitor notification object.
Methods
Hide/Show inherited methods
public Object getDerivedGauge ()
  Gets the derived gauge of this monitor notification.
public String getMessage () [Inherited From Notification]
  Get the notification message.
public String getObservedAttribute ()
  Gets the observed attribute of this monitor notification.
public ObjectName getObservedObject ()
  Gets the observed object of this monitor notification.
public long getSequenceNumber () [Inherited From Notification]
  Get the notification sequence number.
public Object getSource () [Inherited From EventObject]
  The object on which the Event initially occurred.
public long getTimeStamp () [Inherited From Notification]
  Get the notification timestamp.
public Object getTrigger ()
  Gets the threshold/string (depending on the monitor type) that triggered off this monitor notification.
public String getType () [Inherited From Notification]
  Get the notification type.
public Object getUserData () [Inherited From Notification]
  Get the user data.
public void setSequenceNumber (long sequenceNumber) [Inherited From Notification]
  Set the notification sequence number.
public void setSource (Object source) [Inherited From Notification]
  Sets the source.
public void setTimeStamp (long timeStamp) [Inherited From Notification]
  Set the notification timestamp.
public void setUserData (Object userData) [Inherited From Notification]
  Set the user data.
public String toString () [Inherited From Notification]
  Returns a String representation of this notification.
Fields
Hide/Show inherited fields
publicfinalstatic String OBSERVED_ATTRIBUTE_ERROR = "jmx.monitor.error.attribute"
  Notification type denoting that the observed attribute is not contained in the observed object.
publicfinalstatic String OBSERVED_ATTRIBUTE_TYPE_ERROR = "jmx.monitor.error.type"
  Notification type denoting that the type of the observed attribute is not correct.
publicfinalstatic String OBSERVED_OBJECT_ERROR = "jmx.monitor.error.mbean"
  Notification type denoting that the observed object is not registered in the MBean server.
publicfinalstatic String RUNTIME_ERROR = "jmx.monitor.error.runtime"
  Notification type denoting that a non-predefined error type has occurred when trying to get the value of the observed attribute.
protected Object source [Inherited From Notification]
  This field hides the EventObject.source field in the parent class to make it non-transient and therefore part of the serialized form.
publicfinalstatic String STRING_TO_COMPARE_VALUE_DIFFERED = "jmx.monitor.string.differs"
  Notification type denoting that the observed attribute has differed from the "string to compare" value.
publicfinalstatic String STRING_TO_COMPARE_VALUE_MATCHED = "jmx.monitor.string.matches"
  Notification type denoting that the observed attribute has matched the "string to compare" value.
publicfinalstatic String THRESHOLD_ERROR = "jmx.monitor.error.threshold"
  Notification type denoting that the type of the thresholds, offset or modulus is not correct.
publicfinalstatic String THRESHOLD_HIGH_VALUE_EXCEEDED = "jmx.monitor.gauge.high"
  Notification type denoting that the observed attribute has exceeded the threshold high value.
publicfinalstatic String THRESHOLD_LOW_VALUE_EXCEEDED = "jmx.monitor.gauge.low"
  Notification type denoting that the observed attribute has exceeded the threshold low value.
publicfinalstatic String THRESHOLD_VALUE_EXCEEDED = "jmx.monitor.counter.threshold"
  Notification type denoting that the observed attribute has reached the threshold value.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar