org.jboss.monitor
Class ThresholdNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
org.jboss.monitor.JBossMonitorNotification
org.jboss.monitor.ThresholdNotification
- All Implemented Interfaces:
- Serializable
public class ThresholdNotification
- extends JBossMonitorNotification
Comment
- Version:
- $Revision: 57210 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
Fields inherited from class javax.management.Notification |
source |
Methods inherited from class javax.management.Notification |
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString |
TRIGGERED_ATTRIBUTE_VALUE
public static final String TRIGGERED_ATTRIBUTE_VALUE
- See Also:
- Constant Field Values
THRESHOLD
public static final String THRESHOLD
- See Also:
- Constant Field Values
ThresholdNotification
public ThresholdNotification(String monitorName,
javax.management.ObjectName monitorObjectName,
javax.management.ObjectName observedObject,
String attribute,
Number value,
Number threshold,
long sequenceNumber)
getValue
public Number getValue()
getThreshold
public Number getThreshold()
substitutionMap
public 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
- Returns:
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.