|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.monitor.JBossMonitor
org.jboss.monitor.ThresholdMonitor
public class ThresholdMonitor
Comment
| Field Summary | |
|---|---|
protected Class |
attributeClass
|
protected int |
compareTo
|
protected Number |
thresholdValue
|
| Fields inherited from class org.jboss.monitor.JBossMonitor |
|---|
alertListeners, alertSent, attribute, enabled, log, monitorName, observedObject, period, thresholdString, triggeredAttributeValue, triggerTime |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
server, SERVICE_CONTROLLER_SIG, serviceName |
| 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 |
| Constructor Summary | |
|---|---|
ThresholdMonitor()
|
|
| Method Summary | |
|---|---|
protected int |
compare(Object value)
|
int |
getCompareTo()
|
Number |
getThresholdValue()
real actual numeric threshold value |
protected void |
parseThresholdValue()
|
void |
setCompareTo(int compare)
|
void |
setThreshold(String val)
|
protected void |
startService()
|
protected void |
testThreshold()
|
| Methods inherited from class org.jboss.monitor.JBossMonitor |
|---|
alerted, clearAlert, getAlertListeners, getEnabled, getMonitorName, getObservedAttribute, getObservedObject, getPeriod, getThreshold, getTriggeredAttributeValue, getTriggerTime, run, setAlertListeners, setEnabled, setMonitorName, setObservedAttribute, setObservedObject, setPeriod, startMonitorThread, 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, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, 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 |
|---|
alerted, clearAlert, getAlertListeners, getEnabled, getMonitorName, getObservedAttribute, getObservedObject, getPeriod, getThreshold, getTriggeredAttributeValue, getTriggerTime, setAlertListeners, setEnabled, setMonitorName, setObservedAttribute, setObservedObject, setPeriod |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Field Detail |
|---|
protected Number thresholdValue
protected int compareTo
protected Class attributeClass
| Constructor Detail |
|---|
public ThresholdMonitor()
| Method Detail |
|---|
protected void parseThresholdValue()
protected int compare(Object value)
protected void startService()
throws Exception
startService in class JBossMonitorExceptionprotected void testThreshold()
testThreshold in class JBossMonitorpublic int getCompareTo()
getCompareTo in interface ThresholdMonitorMBeanpublic void setCompareTo(int compare)
setCompareTo in interface ThresholdMonitorMBeanpublic Number getThresholdValue()
ThresholdMonitorMBean
getThresholdValue in interface ThresholdMonitorMBeanpublic void setThreshold(String val)
setThreshold in interface JBossMonitorMBeansetThreshold in class JBossMonitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||