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, stopMonitor
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, setAttribute, setAttributes, setImplementation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, start, stop
public MX4JStringMonitor() throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanException
public MX4JStringMonitor(java.lang.Class management) throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanException
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
javax.management.NotificationBroadcaster
getNotificationInfo
in interface javax.management.NotificationBroadcaster
public java.lang.String getStringToCompare()
getStringToCompare
in interface MX4JStringMonitorMBean
public void setStringToCompare(java.lang.String value) throws java.lang.IllegalArgumentException
setStringToCompare
in interface MX4JStringMonitorMBean
java.lang.IllegalArgumentException
public boolean getNotifyMatch()
getNotifyMatch
in interface MX4JStringMonitorMBean
public void setNotifyMatch(boolean notifyMatch)
setNotifyMatch
in interface MX4JStringMonitorMBean
public boolean getNotifyDiffer()
getNotifyDiffer
in interface MX4JStringMonitorMBean
public void setNotifyDiffer(boolean notifyDiffer)
setNotifyDiffer
in interface MX4JStringMonitorMBean
public java.lang.String getDerivedGauge(javax.management.ObjectName objectName)
getDerivedGauge
in interface MX4JStringMonitorMBean
public long getDerivedGaugeTimeStamp(javax.management.ObjectName objectName)
getDerivedGaugeTimeStamp
in interface MX4JStringMonitorMBean
protected MX4JMonitor.MonitorInfo createMonitorInfo()
createMonitorInfo
in class MX4JMonitor
protected 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