public interface CounterMonitorMBean extends MonitorMBean
| Modifier and Type | Method and Description |
|---|---|
Number |
getDerivedGauge()
Deprecated.
As of JMX 1.2, replaced by
getDerivedGauge(ObjectName) |
Number |
getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean.
|
long |
getDerivedGaugeTimeStamp()
Deprecated.
As of JMX 1.2, replaced by
getDerivedGaugeTimeStamp(ObjectName) |
long |
getDerivedGaugeTimeStamp(ObjectName object)
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(ObjectName object)
Gets the threshold value for the specified MBean.
|
void |
setDifferenceMode(boolean value)
Sets the difference mode flag value.
|
void |
setInitThreshold(Number value)
Sets the initial threshold value common to all observed MBeans.
|
void |
setModulus(Number value)
Sets the modulus value.
|
void |
setNotify(boolean value)
Sets the notification's on/off switch value.
|
void |
setOffset(Number value)
Sets the offset value.
|
void |
setThreshold(Number value)
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)setThreshold(Number)@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.getThreshold()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.setThreshold(java.lang.Number)Number getInitThreshold()
setInitThreshold(java.lang.Number)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.getInitThreshold()Number getOffset()
setOffset(Number)void setOffset(Number value) throws IllegalArgumentException
value - The offset value.IllegalArgumentException - The specified
offset is null or the offset value is less than zero.getOffset()Number getModulus()
setModulus(java.lang.Number)void setModulus(Number value) throws IllegalArgumentException
value - The modulus value.IllegalArgumentException - The specified
modulus is null or the modulus value is less than zero.getModulus()boolean getNotify()
true if the counter monitor notifies when
exceeding the threshold, false otherwise.setNotify(boolean)void setNotify(boolean value)
value - The notification's on/off switch value.getNotify()boolean getDifferenceMode()
true if the difference mode is used,
false otherwise.setDifferenceMode(boolean)void setDifferenceMode(boolean value)
value - The difference mode flag value.getDifferenceMode() Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.