public class MX4JStringMonitor extends MX4JMonitor implements MX4JStringMonitorMBean
| Modifier and Type | Class and Description |
|---|---|
protected class |
MX4JStringMonitor.StringMonitorInfo |
MX4JMonitor.MonitorInfo| Constructor and Description |
|---|
MX4JStringMonitor() |
MX4JStringMonitor(java.lang.Class management) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
compare(java.lang.String left,
java.lang.String right) |
protected MX4JMonitor.MonitorInfo |
createMonitorInfo() |
java.lang.String |
getDerivedGauge(javax.management.ObjectName objectName) |
long |
getDerivedGaugeTimeStamp(javax.management.ObjectName objectName) |
javax.management.MBeanNotificationInfo[] |
getNotificationInfo()
Returns the metadata information associated with this emitter.
|
boolean |
getNotifyDiffer() |
boolean |
getNotifyMatch() |
java.lang.String |
getStringToCompare() |
protected void |
monitor(javax.management.ObjectName name,
java.lang.String attribute,
java.lang.Object value,
MX4JMonitor.MonitorInfo monitorInfo) |
void |
setNotifyDiffer(boolean notifyDiffer) |
void |
setNotifyMatch(boolean notifyMatch) |
void |
setStringToCompare(java.lang.String value) |
addNotificationListener, addObservedObject, clearObservedObjects, containsObservedObject, createMonitorNotification, createNotificationEmitter, getGranularityPeriod, getLogger, getMonitorInfo, getObservedAttribute, getObservedObjects, isActive, postDeregister, postRegister, preDeregister, preRegister, putMonitorInfo, removeMonitorInfo, removeNotificationListener, removeNotificationListener, removeObservedObject, sendErrorNotification, sendNotification, sendNotification, setGranularityPeriod, setObservedAttribute, start, startMonitor, stop, stopMonitorcacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, setAttribute, setAttributes, setImplementationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, start, stoppublic MX4JStringMonitor()
throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanExceptionpublic MX4JStringMonitor(java.lang.Class management)
throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanExceptionpublic javax.management.MBeanNotificationInfo[] getNotificationInfo()
javax.management.NotificationBroadcastergetNotificationInfo in interface javax.management.NotificationBroadcasterpublic java.lang.String getStringToCompare()
getStringToCompare in interface MX4JStringMonitorMBeanpublic void setStringToCompare(java.lang.String value)
throws java.lang.IllegalArgumentException
setStringToCompare in interface MX4JStringMonitorMBeanjava.lang.IllegalArgumentExceptionpublic boolean getNotifyMatch()
getNotifyMatch in interface MX4JStringMonitorMBeanpublic void setNotifyMatch(boolean notifyMatch)
setNotifyMatch in interface MX4JStringMonitorMBeanpublic boolean getNotifyDiffer()
getNotifyDiffer in interface MX4JStringMonitorMBeanpublic void setNotifyDiffer(boolean notifyDiffer)
setNotifyDiffer in interface MX4JStringMonitorMBeanpublic java.lang.String getDerivedGauge(javax.management.ObjectName objectName)
getDerivedGauge in interface MX4JStringMonitorMBeanpublic long getDerivedGaugeTimeStamp(javax.management.ObjectName objectName)
getDerivedGaugeTimeStamp in interface MX4JStringMonitorMBeanprotected MX4JMonitor.MonitorInfo createMonitorInfo()
createMonitorInfo in class MX4JMonitorprotected int compare(java.lang.String left,
java.lang.String right)
protected void monitor(javax.management.ObjectName name,
java.lang.String attribute,
java.lang.Object value,
MX4JMonitor.MonitorInfo monitorInfo)
monitor in class MX4JMonitor