MonitorMBean
CounterMonitor
public interface CounterMonitorMBean 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 |
getInitThreshold() |
Gets the initial threshold value common to all observed objects. |
Number |
getModulus() |
Gets the modulus value. |
boolean |
getNotify() |
Gets the notification's on/off switch value. |
Number |
getOffset() |
Gets the offset value. |
Number |
getThreshold() |
Deprecated. As of JMX 1.2, replaced by getThreshold(ObjectName)
|
Number |
getThreshold |
Gets the threshold value for the specified MBean. |
void |
setDifferenceMode |
Sets the difference mode flag value. |
void |
setInitThreshold |
Sets the initial threshold value common to all observed MBeans. |
void |
setModulus |
Sets the modulus value. |
void |
setNotify |
Sets the notification's on/off switch value. |
void |
setOffset |
Sets the offset value. |
void |
setThreshold |
Deprecated. As of JMX 1.2, replaced by setInitThreshold(java.lang.Number)
|
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop
@Deprecated Number getDerivedGauge()
getDerivedGauge(ObjectName)
@Deprecated long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
@Deprecated Number getThreshold()
getThreshold(ObjectName)
@Deprecated void setThreshold(Number value) throws IllegalArgumentException
setInitThreshold(java.lang.Number)
value
- The threshold value.IllegalArgumentException
- The specified threshold is null or the threshold value is less than zero.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 getThreshold(ObjectName object)
object
- the MBean for which the threshold value is to be returnednull
otherwise.Number getInitThreshold()
void setInitThreshold(Number value) throws IllegalArgumentException
value
- The initial threshold value.IllegalArgumentException
- The specified threshold is null or the threshold value is less than zero.Number getOffset()
void setOffset(Number value) throws IllegalArgumentException
value
- The offset value.IllegalArgumentException
- The specified offset is null or the offset value is less than zero.Number getModulus()
void setModulus(Number value) throws IllegalArgumentException
value
- The modulus value.IllegalArgumentException
- The specified modulus is null or the modulus value is less than zero.boolean getNotify()
true
if the counter monitor notifies when exceeding the threshold, false
otherwise.void setNotify(boolean value)
value
- The 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/CounterMonitorMBean.html
getDerivedGauge(ObjectName)