public interface GaugeMonitorMBean extends MonitorMBean
Exposes the remote management interface of the gauge monitor MBean.
@Deprecated Number 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.
Number 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.Number getHighThreshold()
Gets the high threshold value.
Number getLowThreshold()
Gets the low threshold value.
void setThresholds(Number highValue, Number lowValue) throws IllegalArgumentException
Sets the high and the low threshold values.
highValue
- The high threshold value.lowValue
- The low threshold value.IllegalArgumentException
- The specified high/low threshold is null or the low threshold is greater than the high threshold or the high threshold and the low threshold are not of the same type.boolean getNotifyHigh()
Gets the high notification's on/off switch value.
true
if the gauge monitor notifies when exceeding the high threshold, false
otherwise.setNotifyHigh(boolean)
void setNotifyHigh(boolean value)
Sets the high notification's on/off switch value.
value
- The high notification's on/off switch value.getNotifyHigh()
boolean getNotifyLow()
Gets the low notification's on/off switch value.
true
if the gauge monitor notifies when exceeding the low threshold, false
otherwise.setNotifyLow(boolean)
void setNotifyLow(boolean value)
Sets the low notification's on/off switch value.
value
- The low notification's on/off switch value.getNotifyLow()
boolean getDifferenceMode()
Gets the difference mode flag value.
true
if the difference mode is used, false
otherwise.setDifferenceMode(boolean)
void setDifferenceMode(boolean value)
Sets the difference mode flag value.
value
- The difference mode flag value.getDifferenceMode()
© 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.