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
Gets the derived gauge for the specified MBean.
|
long |
getDerivedGaugeTimeStamp()
Deprecated.
As of JMX 1.2, replaced by
getDerivedGaugeTimeStamp(ObjectName)
|
long |
getDerivedGaugeTimeStamp(ObjectName
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
Gets the threshold value for the specified MBean.
|
void |
setDifferenceMode(boolean value)
Sets the difference mode flag value.
|
void |
setInitThreshold(Number
Sets the initial threshold value common to all observed MBeans.
|
void |
setModulus(Number
Sets the modulus value.
|
void |
setNotify(boolean value)
Sets the notification's on/off switch value.
|
void |
setOffset(Number
Sets the offset value.
|
void |
setThreshold(Number
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 NumbergetDerivedGauge()
getDerivedGauge(ObjectName)
@Deprecated long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
@Deprecated NumbergetThreshold()
getThreshold(ObjectName)
setThreshold(Number)
@Deprecated void setThreshold(Numbervalue) 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()
NumbergetDerivedGauge(ObjectName object)
object - the MBean for which the derived gauge is to be returned
null otherwise.
long getDerivedGaugeTimeStamp(ObjectNameobject)
object - the MBean for which the derived gauge timestamp is to be returned
null otherwise.
NumbergetThreshold(ObjectName object)
object - the MBean for which the threshold value is to be returned
null otherwise.
setThreshold(java.lang.Number)
NumbergetInitThreshold()
setInitThreshold(java.lang.Number)
void setInitThreshold(Numbervalue) throws IllegalArgumentException
value - The initial threshold value.
IllegalArgumentException - The specified threshold is null or the threshold value is less than zero.
getInitThreshold()
NumbergetOffset()
setOffset(Number)
void setOffset(Numbervalue) throws IllegalArgumentException
value - The offset value.
IllegalArgumentException - The specified offset is null or the offset value is less than zero.
getOffset()
NumbergetModulus()
setModulus(java.lang.Number)
void setModulus(Numbervalue) 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()