|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GaugeMonitorMBean
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 |
---|
Number getDerivedGauge()
getDerivedGauge(ObjectName)
long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
Number getDerivedGauge(ObjectName name)
name
- the object name of the mbean.
long getDerivedGaugeTimeStamp(ObjectName name)
name
- the object name of the mbean.
Number getHighThreshold()
Number getLowThreshold()
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.boolean getNotifyHigh()
void setNotifyHigh(boolean value)
value
- pass true for high notifications, false otherwise.boolean getNotifyLow()
void setNotifyLow(boolean value)
value
- pass true for low notifications, false otherwise.boolean getDifferenceMode()
void setDifferenceMode(boolean value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |