|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The gauge 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 |
getHighThreshold()
Retrieves the high threshold. |
Number |
getLowThreshold()
Retrieves the low threshold. |
boolean |
getNotifyHigh()
Retrieves the high notify on/off switch. |
boolean |
getNotifyLow()
Retrieves the low notify on/off switch. |
void |
setDifferenceMode(boolean value)
Sets the difference mode flag. |
void |
setNotifyHigh(boolean value)
Sets the high notify on/off switch. |
void |
setNotifyLow(boolean value)
Sets the low notify on/off switch. |
void |
setThresholds(Number highValue,
Number lowValue)
Sets the high and low threshold. |
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 getDerivedGauge(ObjectName name)
name
- the object name of the mbean.
public long getDerivedGaugeTimeStamp(ObjectName name)
name
- the object name of the mbean.
public Number getHighThreshold()
public Number getLowThreshold()
public void setThresholds(Number highValue, Number lowValue) throws IllegalArgumentException
highValue
- the high threshold value, pass zero for no high
threshold.lowValue
- the low threshold value, pass zero for no low
threshold.
IllegalArgumentException
- when either threshold is null or
the high threshold is lower than the low threshold or the.
thresholds have different types.public boolean getNotifyHigh()
public void setNotifyHigh(boolean value)
value
- pass true for high notifications, false otherwise.public boolean getNotifyLow()
public void setNotifyLow(boolean value)
value
- pass true for low notifications, false otherwise.public boolean getDifferenceMode()
public void setDifferenceMode(boolean value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |