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