public interface StringMonitorMBean extends MonitorMBean
Exposes the remote management interface of the string monitor MBean.
@Deprecated String getDerivedGauge()
Deprecated. As of JMX 1.2, replaced by getDerivedGauge(ObjectName)
Gets the derived gauge.
@Deprecated long getDerivedGaugeTimeStamp()
Deprecated. As of JMX 1.2, replaced by getDerivedGaugeTimeStamp(ObjectName)
Gets the derived gauge timestamp.
String getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean.
object
- the MBean for which the derived gauge is to be returnednull
otherwise.long getDerivedGaugeTimeStamp(ObjectName object)
Gets the derived gauge timestamp for the specified MBean.
object
- the MBean for which the derived gauge timestamp is to be returnednull
otherwise.String getStringToCompare()
Gets the string to compare with the observed attribute.
setStringToCompare(java.lang.String)
void setStringToCompare(String value) throws IllegalArgumentException
Sets the string to compare with the observed attribute.
value
- The string value.IllegalArgumentException
- The specified string to compare is null.getStringToCompare()
boolean getNotifyMatch()
Gets the matching notification's on/off switch value.
true
if the string monitor notifies when matching, false
otherwise.setNotifyMatch(boolean)
void setNotifyMatch(boolean value)
Sets the matching notification's on/off switch value.
value
- The matching notification's on/off switch value.getNotifyMatch()
boolean getNotifyDiffer()
Gets the differing notification's on/off switch value.
true
if the string monitor notifies when differing, false
otherwise.setNotifyDiffer(boolean)
void setNotifyDiffer(boolean value)
Sets the differing notification's on/off switch value.
value
- The differing notification's on/off switch value.getNotifyDiffer()
© 1993–2017, 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.