org.jboss.monitor
Class StringThresholdMonitor
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.monitor.JBossMonitor
org.jboss.monitor.StringThresholdMonitor
- All Implemented Interfaces:
- Runnable, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, org.jboss.kernel.spi.dependency.KernelControllerContextAware, JBossMonitorMBean, StringThresholdMonitorMBean, Service, ServiceMBean
public class StringThresholdMonitor
- extends JBossMonitor
- implements StringThresholdMonitorMBean
Comment
- Version:
- $Revision: 81038 $
- Author:
- Bill Burke
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from class org.jboss.monitor.JBossMonitor |
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 |
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
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 |
alerted, clearAlert, getAlertListeners, getEnabled, getMonitorName, getObservedAttribute, getObservedObject, getPeriod, getTriggeredAttributeValue, getTriggerTime, setAlertListeners, setEnabled, setMonitorName, setObservedAttribute, setObservedObject, setPeriod |
thresholdString
protected String thresholdString
equalityTriggersAlert
protected boolean equalityTriggersAlert
StringThresholdMonitor
public StringThresholdMonitor()
testThreshold
protected void testThreshold()
- Specified by:
testThreshold
in class JBossMonitor
getThreshold
public String getThreshold()
- Specified by:
getThreshold
in interface JBossMonitorMBean
- Overrides:
getThreshold
in class JBossMonitor
setThreshold
public void setThreshold(String val)
- Specified by:
setThreshold
in interface JBossMonitorMBean
- Overrides:
setThreshold
in class JBossMonitor
getEqualityTriggersAlert
public boolean getEqualityTriggersAlert()
- Specified by:
getEqualityTriggersAlert
in interface StringThresholdMonitorMBean
setEqualityTriggersAlert
public void setEqualityTriggersAlert(boolean compareEqual)
- Specified by:
setEqualityTriggersAlert
in interface StringThresholdMonitorMBean
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.