org.jboss.monitor
Class ThresholdNotification
java.lang.Object
java.util.EventObject
javax.management.Notification (src)
org.jboss.monitor.JBossMonitorNotification (src)
org.jboss.monitor.ThresholdNotification
- All Implemented Interfaces:
- java.io.Serializable
- public class ThresholdNotification
- extends JBossMonitorNotification (src)
Comment
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
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 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 |
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)
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)
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: