org.jboss.monitor
Class ThresholdNotification

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.management.Notification (src) 
          extended byorg.jboss.monitor.JBossMonitorNotification (src) 
              extended byorg.jboss.monitor.ThresholdNotification
All Implemented Interfaces:
java.io.Serializable

public class ThresholdNotification
extends JBossMonitorNotification (src)

Comment

See Also:
Serialized Form

Field Summary
static java.lang.String THRESHOLD
           
static java.lang.String TRIGGERED_ATTRIBUTE_VALUE
           
 
Fields inherited from class org.jboss.monitor.JBossMonitorNotification (src)
attribute, ATTRIBUTE, MONITOR_NAME, MONITOR_OBJECT_NAME, monitorName, monitorObjectName, NOTIFICATION_TYPE, OBSERVED_OBJECT, observedObject
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ThresholdNotification(java.lang.String monitorName, ObjectName (src)  monitorObjectName, ObjectName (src)  observedObject, java.lang.String attribute, java.lang.Number value, java.lang.Number threshold, long sequenceNumber)
           
 
Method Summary
 java.lang.Number getThreshold()
           
 java.lang.Number getValue()
           
 java.util.Map substitutionMap()
          Return a substitution map that can be used by org.jboss.util.Strings.subst to create a printable alert message.
 
Methods inherited from class org.jboss.monitor.JBossMonitorNotification (src)
getAttribute, getMonitorName, getMonitorObjectName, getObservedObject
 
Methods inherited from class javax.management.Notification (src)
getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRIGGERED_ATTRIBUTE_VALUE

public static final java.lang.String TRIGGERED_ATTRIBUTE_VALUE
See Also:
Constant Field Values (src)

THRESHOLD

public static final java.lang.String THRESHOLD
See Also:
Constant Field Values (src)
Constructor Detail

ThresholdNotification

public ThresholdNotification(java.lang.String monitorName,
                             ObjectName (src)  monitorObjectName,
                             ObjectName (src)  observedObject,
                             java.lang.String attribute,
                             java.lang.Number value,
                             java.lang.Number threshold,
                             long sequenceNumber)
Method Detail

getValue

public java.lang.Number getValue()

getThreshold

public java.lang.Number getThreshold()

substitutionMap

public java.util.Map substitutionMap()
Return a substitution map that can be used by org.jboss.util.Strings.subst to create a printable alert message.

Overrides:
substitutionMap in class JBossMonitorNotification (src)
Returns: