|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The counter monitor service MBean interface.
| Method Summary | |
Number |
getDerivedGauge()
Deprecated. use getDerivedGauge(ObjectName) |
Number |
getDerivedGauge(ObjectName name)
Retrieves the derived gauge. |
long |
getDerivedGaugeTimeStamp()
Deprecated. use getDerivedGaugeTimeStamp(ObjectName) |
long |
getDerivedGaugeTimeStamp(ObjectName name)
Retrieves the derived gauge timestamp. |
boolean |
getDifferenceMode()
Retrieves the difference mode flag. |
Number |
getInitThreshold()
Retrieves the initial threshold. |
Number |
getModulus()
Retrieves the modulus. |
boolean |
getNotify()
Retrieves the notify on/off switch. |
Number |
getOffset()
Retrieves the offset. |
Number |
getThreshold()
Deprecated. use getThreshold(ObjectName) |
Number |
getThreshold(ObjectName name)
Retrieves the threshold. |
void |
setDifferenceMode(boolean value)
Sets the difference mode flag. |
void |
setInitThreshold(Number value)
Sets the initial threshold. |
void |
setModulus(Number value)
Sets the modulus. |
void |
setNotify(boolean value)
Sets the notify on/off switch. |
void |
setOffset(Number value)
Sets the offset. |
void |
setThreshold(Number value)
Deprecated. use setInitThreshold(Number) |
| Methods inherited from interface javax.management.monitor.MonitorMBean |
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop |
| Method Detail |
public Number getDerivedGauge()
getDerivedGauge(ObjectName)
public long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
public Number getThreshold()
getThreshold(ObjectName)
public void setThreshold(Number value) throws IllegalArgumentException
setInitThreshold(Number)
value - the threshold value, pass zero for no threshold.
IllegalArgumentException - when the threshold is null or
less than zero.public Number getDerivedGauge(ObjectName name)
name - the object name of the mbean.
public long getDerivedGaugeTimeStamp(ObjectName name)
name - the object name of the mbean.
public Number getThreshold(ObjectName name)
name - the object name of the mbean.
public Number getInitThreshold()
public void setInitThreshold(Number value) throws IllegalArgumentException
value - the initial threshold.
IllegalArgumentExceptionpublic Number getOffset()
public void setOffset(Number value) throws IllegalArgumentException
value - the offset value, pass zero for no offset.
IllegalArgumentException - when the offset is null or
less than zero.public Number getModulus()
public void setModulus(Number value) throws IllegalArgumentException
value - the modulus value, pass zero for no modulus.
IllegalArgumentException - when the modulus is null or
less than zero.public boolean getNotify()
public void setNotify(boolean value)
value - pass true notifications, false otherwise.public boolean getDifferenceMode()
public void setDifferenceMode(boolean value)
value - pass true for difference mode, false otherwise.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||