javax.management.monitor
Class StringMonitor
java.lang.Object
|
+--javax.management.NotificationBroadcasterSupport
|
+--javax.management.monitor.Monitor
|
+--javax.management.monitor.StringMonitor
- All Implemented Interfaces:
- MBeanRegistration, MonitorMBean, NotificationBroadcaster, StringMonitorMBean
- public class StringMonitor
- extends Monitor
- implements StringMonitorMBean
- Version:
- $Revision: 1.3 $
- Author:
- Carlos Quiroz
- See Also:
Monitor
Methods inherited from class javax.management.monitor.Monitor |
getGranularityPeriod, getObservedAttribute, getObservedObject, isActive, postDeregister, postRegister, preDeregister, preRegister, setGranularityPeriod, setObservedAttribute, setObservedObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringMonitor
public StringMonitor()
start
public void start()
- Specified by:
start
in interface MonitorMBean
- Overrides:
start
in class Monitor
stop
public void stop()
- Specified by:
stop
in interface MonitorMBean
- Overrides:
stop
in class Monitor
getDerivedGauge
public java.lang.String getDerivedGauge()
- Specified by:
getDerivedGauge
in interface StringMonitorMBean
getDerivedGaugeTimeStamp
public long getDerivedGaugeTimeStamp()
- Specified by:
getDerivedGaugeTimeStamp
in interface StringMonitorMBean
getStringToCompare
public java.lang.String getStringToCompare()
- Specified by:
getStringToCompare
in interface StringMonitorMBean
setStringToCompare
public void setStringToCompare(java.lang.String value)
throws java.lang.IllegalArgumentException
- Specified by:
setStringToCompare
in interface StringMonitorMBean
getNotifyMatch
public boolean getNotifyMatch()
- Specified by:
getNotifyMatch
in interface StringMonitorMBean
setNotifyMatch
public void setNotifyMatch(boolean value)
- Specified by:
setNotifyMatch
in interface StringMonitorMBean
getNotifyDiffer
public boolean getNotifyDiffer()
- Specified by:
getNotifyDiffer
in interface StringMonitorMBean
setNotifyDiffer
public void setNotifyDiffer(boolean value)
- Specified by:
setNotifyDiffer
in interface StringMonitorMBean
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
- Description copied from interface:
NotificationBroadcaster
- Returns the name of the java class of the notification and the
notification types sent.
- Overrides:
getNotificationInfo
in class NotificationBroadcasterSupport
- Following copied from interface:
javax.management.NotificationBroadcaster
- Returns:
- MBeanNotificationInfo The NotificationInfo
toString
public java.lang.String toString()
- Overrides:
toString
in class Monitor
Copyright © 2001-2002 MX4J Team. All Rights Reserved.