|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport (src)
javax.management.monitor.Monitor (src)
javax.management.monitor.StringMonitor
The string monitor service.
| Field Summary |
| Fields inherited from class javax.management.monitor.Monitor (src) |
alreadyNotified, alreadyNotifieds, capacityIncrement, dbgTag, elementCount, OBSERVED_ATTRIBUTE_ERROR_NOTIFIED, OBSERVED_ATTRIBUTE_TYPE_ERROR_NOTIFIED, OBSERVED_OBJECT_ERROR_NOTIFIED, RESET_FLAGS_ALREADY_NOTIFIED, RUNTIME_ERROR_NOTIFIED, server |
| Constructor Summary | |
StringMonitor()
Default Constructor |
|
| Method Summary | |
java.lang.String |
getDerivedGauge()
Retrieves the derived gauge. |
java.lang.String |
getDerivedGauge(ObjectName (src) name)
Retrieves the derived gauge. |
long |
getDerivedGaugeTimeStamp()
Retrieves the derived gauge timestamp. |
long |
getDerivedGaugeTimeStamp(ObjectName (src) name)
Retrieves the derived gauge timestamp. |
MBeanNotificationInfo (src) [] |
getNotificationInfo()
Returns the notification metadata associated with the MBean. |
boolean |
getNotifyDiffer()
Retrieves the differs on/off switch. |
boolean |
getNotifyMatch()
Retrieves the matching on/off switch. |
java.lang.String |
getStringToCompare()
Retrieves the string to compare with the observed attribute. |
void |
setNotifyDiffer(boolean value)
Sets the differs on/off switch. |
void |
setNotifyMatch(boolean value)
Sets the matching on/off switch. |
void |
setStringToCompare(java.lang.String value)
Sets the string to compare with the observed attribute. |
void |
start()
Starts the monitor. |
void |
stop()
Stops the monitor. |
| Methods inherited from class javax.management.monitor.Monitor (src) |
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, postDeregister, postRegister, preDeregister, preRegister, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, toString |
| Methods inherited from class javax.management.NotificationBroadcasterSupport (src) |
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.management.monitor.MonitorMBean (src) |
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject |
| Constructor Detail |
public StringMonitor()
| Method Detail |
public MBeanNotificationInfo (src) [] getNotificationInfo()
NotificationBroadcaster (src)
getNotificationInfo in interface NotificationBroadcaster (src) getNotificationInfo in class NotificationBroadcasterSupport (src) public java.lang.String getDerivedGauge()
StringMonitorMBean (src)
getDerivedGauge in interface StringMonitorMBean (src) public java.lang.String getDerivedGauge(ObjectName (src) name)
StringMonitorMBean (src)
getDerivedGauge in interface StringMonitorMBean (src) name - the object name of the mbean.
public long getDerivedGaugeTimeStamp()
StringMonitorMBean (src)
getDerivedGaugeTimeStamp in interface StringMonitorMBean (src) public long getDerivedGaugeTimeStamp(ObjectName (src) name)
StringMonitorMBean (src)
getDerivedGaugeTimeStamp in interface StringMonitorMBean (src) name - the object name of the mbean.
public java.lang.String getStringToCompare()
StringMonitorMBean (src)
getStringToCompare in interface StringMonitorMBean (src)
public void setStringToCompare(java.lang.String value)
throws java.lang.IllegalArgumentException
StringMonitorMBean (src)
setStringToCompare in interface StringMonitorMBean (src) value - the comparison string.
java.lang.IllegalArgumentException - when specified string is null.public boolean getNotifyMatch()
StringMonitorMBean (src)
getNotifyMatch in interface StringMonitorMBean (src) public void setNotifyMatch(boolean value)
StringMonitorMBean (src)
setNotifyMatch in interface StringMonitorMBean (src) value - pass true for a notification when the string matches, false
otherwise.public boolean getNotifyDiffer()
StringMonitorMBean (src)
getNotifyDiffer in interface StringMonitorMBean (src) public void setNotifyDiffer(boolean value)
StringMonitorMBean (src)
setNotifyDiffer in interface StringMonitorMBean (src) value - pass true for a notification when the string differs, false
otherwise.public void start()
MonitorMBean (src)
start in interface MonitorMBean (src) start in class Monitor (src) public void stop()
MonitorMBean (src)
stop in interface MonitorMBean (src) stop in class Monitor (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||