| javax.management.monitor.Monitor javax.management.monitor.StringMonitor
StringMonitor | public class StringMonitor extends Monitor implements StringMonitorMBean(Code) | | Defines a monitor MBean designed to observe the values of a string
attribute.
A string monitor sends notifications as follows:
- if the attribute value matches the string to compare value,
a
MonitorNotification.STRING_TO_COMPARE_VALUE_MATCHED match notification is sent.
The notify match flag must be set to
true .
Subsequent matchings of the string to compare values do not
cause further notifications unless
the attribute value differs from the string to compare value.
- if the attribute value differs from the string to compare value,
a
MonitorNotification.STRING_TO_COMPARE_VALUE_DIFFERED differ notification is sent.
The notify differ flag must be set to
true .
Subsequent differences from the string to compare value do
not cause further notifications unless
the attribute value matches the string to compare value.
author: Young Yang |
Inner Class :class StringMonitorData extends MonitorData | |
StringMonitor | public StringMonitor()(Code) | | |
getDerivedGaugeTimeStamp | public long getDerivedGaugeTimeStamp(ObjectName observedObject)(Code) | | |
getNotifyDiffer | public boolean getNotifyDiffer()(Code) | | |
getNotifyMatch | public boolean getNotifyMatch()(Code) | | |
setNotifyDiffer | public void setNotifyDiffer(boolean value)(Code) | | |
setNotifyMatch | public void setNotifyMatch(boolean value)(Code) | | |
start | public void start()(Code) | | |
stop | public synchronized void stop()(Code) | | |
Fields inherited from javax.management.monitor.Monitor | protected Map observedObjects(Code)(Java Doc)
|
|
|