| javax.management.monitor.GaugeMonitorMBean
All known Subclasses: javax.management.monitor.GaugeMonitor,
GaugeMonitorMBean | public interface GaugeMonitorMBean extends MonitorMBean(Code) | | The gauge monitor service MBean interface.
author: Adrian Brock version: $Revision: 57200 $ |
getDerivedGauge | public Number getDerivedGauge(ObjectName name)(Code) | | Retrieves the derived gauge.
Parameters: name - the object name of the mbean. the derived gauge. |
getDerivedGaugeTimeStamp | public long getDerivedGaugeTimeStamp(ObjectName name)(Code) | | Retrieves the derived gauge timestamp.
Parameters: name - the object name of the mbean. the derived gauge timestamp. |
getDifferenceMode | public boolean getDifferenceMode()(Code) | | Retrieves the difference mode flag.
true when in difference mode, false otherwise. |
getHighThreshold | public Number getHighThreshold()(Code) | | Retrieves the high threshold.
REVIEW: zero threshold
the high threshold value, zero means no threshold. |
getLowThreshold | public Number getLowThreshold()(Code) | | Retrieves the low threshold.
REVIEW: zero threshold
the low threshold value, zero means no threshold. |
getNotifyHigh | public boolean getNotifyHigh()(Code) | | Retrieves the high notify on/off switch.
true if high notifications occur, false otherwise. |
getNotifyLow | public boolean getNotifyLow()(Code) | | Retrieves the low notify on/off switch.
true if low notifications occur, false otherwise. |
setDifferenceMode | public void setDifferenceMode(boolean value)(Code) | | Sets the difference mode flag.
|
setNotifyHigh | public void setNotifyHigh(boolean value)(Code) | | Sets the high notify on/off switch.
Parameters: value - pass true for high notifications, false otherwise. |
setNotifyLow | public void setNotifyLow(boolean value)(Code) | | Sets the low notify on/off switch.
Parameters: value - pass true for low notifications, false otherwise. |
setThresholds | public void setThresholds(Number highValue, Number lowValue) throws IllegalArgumentException(Code) | | Sets the high and low threshold.
REVIEW: zero threshold
Parameters: highValue - the high threshold value, pass zero for no highthreshold. Parameters: lowValue - the low threshold value, pass zero for no lowthreshold. throws: IllegalArgumentException - when either threshold is null orthe high threshold is lower than the low threshold or the.thresholds have different types. |
|
|