public interface

GaugeMonitorMBean

implements MonitorMBean
javax.management.monitor.GaugeMonitorMBean
Known Indirect Subclasses

Class Overview

Exposes the remote management interface of the gauge monitor MBean.

Summary

Public Methods
abstract Number getDerivedGauge()
This method is deprecated. As of JMX 1.2, replaced by getDerivedGauge(ObjectName)
abstract Number getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean.
abstract long getDerivedGaugeTimeStamp(ObjectName object)
Gets the derived gauge timestamp for the specified MBean.
abstract long getDerivedGaugeTimeStamp()
This method is deprecated. As of JMX 1.2, replaced by getDerivedGaugeTimeStamp(ObjectName)
abstract boolean getDifferenceMode()
Gets the difference mode flag value.
abstract Number getHighThreshold()
Gets the high threshold value.
abstract Number getLowThreshold()
Gets the low threshold value.
abstract boolean getNotifyHigh()
Gets the high notification's on/off switch value.
abstract boolean getNotifyLow()
Gets the low notification's on/off switch value.
abstract void setDifferenceMode(boolean value)
Sets the difference mode flag value.
abstract void setNotifyHigh(boolean value)
Sets the high notification's on/off switch value.
abstract void setNotifyLow(boolean value)
Sets the low notification's on/off switch value.
abstract void setThresholds(Number highValue, Number lowValue)
Sets the high and the low threshold values.
[Expand]
Inherited Methods
From interface javax.management.monitor.MonitorMBean

Public Methods

public abstract Number getDerivedGauge ()

This method is deprecated.
As of JMX 1.2, replaced by getDerivedGauge(ObjectName)

Gets the derived gauge.

Returns
  • The derived gauge.

public abstract Number getDerivedGauge (ObjectName object)

Gets the derived gauge for the specified MBean.

Parameters
object the MBean for which the derived gauge is to be returned
Returns
  • The derived gauge for the specified MBean if this MBean is in the set of observed MBeans, or null otherwise.

public abstract long getDerivedGaugeTimeStamp (ObjectName object)

Gets the derived gauge timestamp for the specified MBean.

Parameters
object the MBean for which the derived gauge timestamp is to be returned
Returns
  • The derived gauge timestamp for the specified MBean if this MBean is in the set of observed MBeans, or null otherwise.

public abstract long getDerivedGaugeTimeStamp ()

This method is deprecated.
As of JMX 1.2, replaced by getDerivedGaugeTimeStamp(ObjectName)

Gets the derived gauge timestamp.

Returns
  • The derived gauge timestamp.

public abstract boolean getDifferenceMode ()

Gets the difference mode flag value.

Returns
  • true if the difference mode is used, false otherwise.

public abstract Number getHighThreshold ()

Gets the high threshold value.

Returns
  • The high threshold value.

public abstract Number getLowThreshold ()

Gets the low threshold value.

Returns
  • The low threshold value.

public abstract boolean getNotifyHigh ()

Gets the high notification's on/off switch value.

Returns
  • true if the gauge monitor notifies when exceeding the high threshold, false otherwise.

public abstract boolean getNotifyLow ()

Gets the low notification's on/off switch value.

Returns
  • true if the gauge monitor notifies when exceeding the low threshold, false otherwise.

public abstract void setDifferenceMode (boolean value)

Sets the difference mode flag value.

Parameters
value The difference mode flag value.

public abstract void setNotifyHigh (boolean value)

Sets the high notification's on/off switch value.

Parameters
value The high notification's on/off switch value.
See Also

public abstract void setNotifyLow (boolean value)

Sets the low notification's on/off switch value.

Parameters
value The low notification's on/off switch value.
See Also

public abstract void setThresholds (Number highValue, Number lowValue)

Sets the high and the low threshold values.

Parameters
highValue The high threshold value.
lowValue The low threshold value.
Throws
IllegalArgumentException The specified high/low threshold is null or the low threshold is greater than the high threshold or the high threshold and the low threshold are not of the same type.