org.jboss.monitor
Class StringThresholdMonitor

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.monitor.JBossMonitor (src) 
              extended byorg.jboss.monitor.StringThresholdMonitor
All Implemented Interfaces:
JBossMonitorMBean (src) , MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , java.lang.Runnable, Service (src) , ServiceMBean (src) , StringThresholdMonitorMBean (src)

public class StringThresholdMonitor
extends JBossMonitor (src)
implements StringThresholdMonitorMBean (src)

Comment


Field Summary
protected  boolean equalityTriggersAlert
           
protected  java.lang.String thresholdString
           
 
Fields inherited from class org.jboss.monitor.JBossMonitor (src)
alertListeners, alertSent, attribute, enabled, log, monitorName, observedObject, period, triggeredAttributeValue, triggerTime
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
StringThresholdMonitor()
           
 
Method Summary
 boolean getEqualityTriggersAlert()
           
 java.lang.String getThreshold()
           
 void setEqualityTriggersAlert(boolean compareEqual)
           
 void setThreshold(java.lang.String val)
           
protected  void testThreshold()
           
 
Methods inherited from class org.jboss.monitor.JBossMonitor (src)
alerted, clearAlert, getAlertListeners, getEnabled, getMonitorName, getObservedAttribute, getObservedObject, getPeriod, getTriggeredAttributeValue, getTriggerTime, run, setAlertListeners, setEnabled, setMonitorName, setObservedAttribute, setObservedObject, setPeriod, startMonitorThread, startService, stopService
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.monitor.JBossMonitorMBean (src)
alerted, clearAlert, getAlertListeners, getEnabled, getMonitorName, getObservedAttribute, getObservedObject, getPeriod, getTriggeredAttributeValue, getTriggerTime, setAlertListeners, setEnabled, setMonitorName, setObservedAttribute, setObservedObject, setPeriod
 
Methods inherited from interface org.jboss.system.ServiceMBean (src)
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service (src)
create, destroy, start, stop
 

Field Detail

thresholdString

protected java.lang.String thresholdString

equalityTriggersAlert

protected boolean equalityTriggersAlert
Constructor Detail

StringThresholdMonitor

public StringThresholdMonitor()
Method Detail

testThreshold

protected void testThreshold()
Specified by:
testThreshold in class JBossMonitor (src)

getThreshold

public java.lang.String getThreshold()
Specified by:
getThreshold in interface JBossMonitorMBean (src)
Overrides:
getThreshold in class JBossMonitor (src)

setThreshold

public void setThreshold(java.lang.String val)
Specified by:
setThreshold in interface JBossMonitorMBean (src)
Overrides:
setThreshold in class JBossMonitor (src)

getEqualityTriggersAlert

public boolean getEqualityTriggersAlert()
Specified by:
getEqualityTriggersAlert in interface StringThresholdMonitorMBean (src)

setEqualityTriggersAlert

public void setEqualityTriggersAlert(boolean compareEqual)
Specified by:
setEqualityTriggersAlert in interface StringThresholdMonitorMBean (src)