MonitorMBean
StringMonitor
public interface StringMonitorMBean extends MonitorMBean
Modifier and Type | Method | Description |
---|---|---|
String |
getDerivedGauge() |
Deprecated. |
String |
getDerivedGauge |
Gets the derived gauge for the specified MBean. |
long |
getDerivedGaugeTimeStamp() |
Deprecated. As of JMX 1.2, replaced by getDerivedGaugeTimeStamp(ObjectName)
|
long |
getDerivedGaugeTimeStamp |
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 |
Sets the differing notification's on/off switch value. |
void |
setNotifyMatch |
Sets the matching notification's on/off switch value. |
void |
setStringToCompare |
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()
void setStringToCompare(String value) throws IllegalArgumentException
value
- The string value.IllegalArgumentException
- The specified string to compare is null.boolean getNotifyMatch()
true
if the string monitor notifies when matching, false
otherwise.void setNotifyMatch(boolean value)
value
- The matching notification's on/off switch value.boolean getNotifyDiffer()
true
if the string monitor notifies when differing, false
otherwise.void setNotifyDiffer(boolean value)
value
- The differing notification's on/off switch value.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.management/javax/management/monitor/StringMonitorMBean.html
getDerivedGauge(ObjectName)