|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CounterMonitorMBean
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 |
---|
Number getDerivedGauge()
getDerivedGauge(ObjectName)
long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
Number getThreshold()
getThreshold(ObjectName)
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.Number getDerivedGauge(ObjectName name)
name
- the object name of the mbean.
long getDerivedGaugeTimeStamp(ObjectName name)
name
- the object name of the mbean.
Number getThreshold(ObjectName name)
name
- the object name of the mbean.
Number getInitThreshold()
void setInitThreshold(Number value) throws IllegalArgumentException
value
- the initial threshold.
IllegalArgumentException
Number getOffset()
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.Number getModulus()
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.boolean getNotify()
void setNotify(boolean value)
value
- pass true notifications, false otherwise.boolean getDifferenceMode()
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 |