MonitorMBean
GaugeMonitor
public interface GaugeMonitorMBean extends MonitorMBean
Modifier and Type | Method | Description |
---|---|---|
Number |
getDerivedGauge() |
Deprecated. |
Number |
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 |
getDifferenceMode() |
Gets the difference mode flag value. |
Number |
getHighThreshold() |
Gets the high threshold value. |
Number |
getLowThreshold() |
Gets the low threshold value. |
boolean |
getNotifyHigh() |
Gets the high notification's on/off switch value. |
boolean |
getNotifyLow() |
Gets the low notification's on/off switch value. |
void |
setDifferenceMode |
Sets the difference mode flag value. |
void |
setNotifyHigh |
Sets the high notification's on/off switch value. |
void |
setNotifyLow |
Sets the low notification's on/off switch value. |
void |
setThresholds |
Sets the high and the low threshold values. |
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop
@Deprecated Number getDerivedGauge()
getDerivedGauge(ObjectName)
@Deprecated long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
Number 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.Number getHighThreshold()
Number getLowThreshold()
void setThresholds(Number highValue, Number lowValue) throws IllegalArgumentException
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()
true
if the gauge monitor notifies when exceeding the high threshold, false
otherwise.void setNotifyHigh(boolean value)
value
- The high notification's on/off switch value.boolean getNotifyLow()
true
if the gauge monitor notifies when exceeding the low threshold, false
otherwise.void setNotifyLow(boolean value)
value
- The low notification's on/off switch value.boolean getDifferenceMode()
true
if the difference mode is used, false
otherwise.void setDifferenceMode(boolean value)
value
- The difference mode flag 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/GaugeMonitorMBean.html
getDerivedGauge(ObjectName)