public interface StringMonitorMBean extends MonitorMBean
Modifier and Type | Method and Description |
---|---|
String |
getDerivedGauge()
Deprecated.
As of JMX 1.2, replaced by
getDerivedGauge(ObjectName) |
String |
getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean.
|
long |
getDerivedGaugeTimeStamp()
Deprecated.
As of JMX 1.2, replaced by
getDerivedGaugeTimeStamp(ObjectName) |
long |
getDerivedGaugeTimeStamp(ObjectName object)
Gets the derived gauge timestamp for the specified MBean.
|
boolean |
getNotifyDiffer()
Gets the differing notification's on/off switch value.
|
boolean |
getNotifyMatch()
Gets the matching notification's on/off switch value.
|
String |
getStringToCompare()
Gets the string to compare with the observed attribute.
|
void |
setNotifyDiffer(boolean value)
Sets the differing notification's on/off switch value.
|
void |
setNotifyMatch(boolean value)
Sets the matching notification's on/off switch value.
|
void |
setStringToCompare(String value)
Sets the string to compare with the observed attribute.
|
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop
@Deprecated String getDerivedGauge()
getDerivedGauge(ObjectName)
@Deprecated long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
String getDerivedGauge(ObjectName object)
object
- the MBean for which the derived gauge is to be returnednull
otherwise.long getDerivedGaugeTimeStamp(ObjectName object)
object
- the MBean for which the derived gauge timestamp is to be returnednull
otherwise.String getStringToCompare()
setStringToCompare(java.lang.String)
void setStringToCompare(String value) throws IllegalArgumentException
value
- The string value.IllegalArgumentException
- The specified
string to compare is null.getStringToCompare()
boolean getNotifyMatch()
true
if the string monitor notifies when
matching, false
otherwise.setNotifyMatch(boolean)
void setNotifyMatch(boolean value)
value
- The matching notification's on/off switch value.getNotifyMatch()
boolean getNotifyDiffer()
true
if the string monitor notifies when
differing, false
otherwise.setNotifyDiffer(boolean)
void setNotifyDiffer(boolean value)
value
- The differing notification's on/off switch value.getNotifyDiffer()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.