站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

StringThresholdNotification (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.monitor
Class StringThresholdNotification

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.management.Notification
          extended byorg.jboss.monitor.JBossMonitorNotification
              extended byorg.jboss.monitor.StringThresholdNotification
All Implemented Interfaces:
Serializable

public class StringThresholdNotification
extends JBossMonitorNotification

Comment

Version:
$Revision: 1.2 $
Author:
Bill Burke
See Also:
Serialized Form

Field Summary
static String THRESHOLD
           
static String TRIGGERED_ATTRIBUTE_VALUE
           
 
Fields inherited from class org.jboss.monitor.JBossMonitorNotification
attribute, ATTRIBUTE, MONITOR_NAME, MONITOR_OBJECT_NAME, monitorName, monitorObjectName, NOTIFICATION_TYPE, OBSERVED_OBJECT, observedObject
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StringThresholdNotification(String monitorName, javax.management.ObjectName monitorObjectName, javax.management.ObjectName observedObject, String attribute, String value, String threshold, boolean equality, long sequenceNumber)
           
 
Method Summary
 boolean getEquality()
           
 String getThreshold()
           
 String getValue()
           
 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
getAttribute, getMonitorName, getMonitorObjectName, getObservedObject
 
Methods inherited from class javax.management.Notification
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 String TRIGGERED_ATTRIBUTE_VALUE
See Also:
Constant Field Values

THRESHOLD

public static final String THRESHOLD
See Also:
Constant Field Values
Constructor Detail

StringThresholdNotification

public StringThresholdNotification(String monitorName,
                                   javax.management.ObjectName monitorObjectName,
                                   javax.management.ObjectName observedObject,
                                   String attribute,
                                   String value,
                                   String threshold,
                                   boolean equality,
                                   long sequenceNumber)
Method Detail

getValue

public String getValue()

getThreshold

public String getThreshold()

getEquality

public boolean getEquality()

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.