javax.management.monitor
Interface GaugeMonitorMBean

All Known Implementing Classes:
GaugeMonitor

public abstract interface GaugeMonitorMBean
extends MonitorMBean

This interface exposes the remote management interface of the GaugeMonitor MBean.


Method Summary
 java.lang.Number getDerivedGauge()
          Gets the derived gauge.
 java.util.Date getDerivedGaugeTimeStamp()
          Gets the derived gauge timestamp.
 boolean getDifferenceMode()
          Gets the difference mode flag value.
 java.lang.Number getHighThreshold()
          Gets the high threshold value.
 java.lang.Number getLowThreshold()
          Gets the low threshold value.
 boolean getNotifyHigh()
          Gets the high notifications on/off switch value.
 boolean getNotifyLow()
          Gets the low notifications on/off switch value.
 void setDifferenceMode(boolean value)
          Sets the difference mode flag value.
 void setHighThreshold(java.lang.Number value)
          Sets the high threshold value.
 void setLowThreshold(java.lang.Number value)
          Sets the low threshold value.
 void setNotifyHigh(boolean value)
          Sets the high notifications on/off switch value.
 void setNotifyLow(boolean value)
          Sets the low notifications on/off switch value.
 
Methods inherited from interface javax.management.monitor.MonitorMBean
getGranularityPeriod, getObservedAttribute, getObservedObject, isActive, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop
 

Method Detail

getDerivedGauge

public java.lang.Number getDerivedGauge()
Gets the derived gauge.
Returns:
The derived gauge.

getDerivedGaugeTimeStamp

public java.util.Date getDerivedGaugeTimeStamp()
Gets the derived gauge timestamp.
Returns:
The derived gauge timestamp.

getHighThreshold

public java.lang.Number getHighThreshold()
Gets the high threshold value.
Returns:
The high threshold value.

setHighThreshold

public void setHighThreshold(java.lang.Number value)
                      throws java.lang.IllegalArgumentException
Sets the high threshold value.
Parameters:
value - The high threshold value.
Throws:
java.lang.IllegalArgumentException - The specified high threshold is null.

getLowThreshold

public java.lang.Number getLowThreshold()
Gets the low threshold value.
Returns:
The low threshold value.

setLowThreshold

public void setLowThreshold(java.lang.Number value)
                     throws java.lang.IllegalArgumentException
Sets the low threshold value.
Parameters:
value - The low threshold value.
Throws:
java.lang.IllegalArgumentException - The specified low threshold is null.

getNotifyHigh

public boolean getNotifyHigh()
Gets the high notifications on/off switch value.
Returns:
True if the GaugeMonitor notifies when exceeding the high threshold, false otherwise.

setNotifyHigh

public void setNotifyHigh(boolean value)
Sets the high notifications on/off switch value.
Parameters:
value - The high notifications on/off switch value.

getNotifyLow

public boolean getNotifyLow()
Gets the low notifications on/off switch value.
Returns:
True if the GaugeMonitor notifies when exceeding the low threshold, false otherwise.

setNotifyLow

public void setNotifyLow(boolean value)
Sets the low notifications on/off switch value.
Parameters:
value - The low notifications on/off switch value.

getDifferenceMode

public boolean getDifferenceMode()
Gets the difference mode flag value.
Returns:
True if the difference mode is used, false otherwise.

setDifferenceMode

public void setDifferenceMode(boolean value)
Sets the difference mode flag value.
Parameters:
value - The difference mode flag value.