public interface

CounterMonitorMBean

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

Class Overview

Exposes the remote management interface of the counter 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 getInitThreshold()
Gets the initial threshold value common to all observed objects.
abstract Number getModulus()
Gets the modulus value.
abstract boolean getNotify()
Gets the notification's on/off switch value.
abstract Number getOffset()
Gets the offset value.
abstract Number getThreshold()
This method is deprecated. As of JMX 1.2, replaced by getThreshold(ObjectName)
abstract Number getThreshold(ObjectName object)
Gets the threshold value for the specified MBean.
abstract void setDifferenceMode(boolean value)
Sets the difference mode flag value.
abstract void setInitThreshold(Number value)
Sets the initial threshold value common to all observed MBeans.
abstract void setModulus(Number value)
Sets the modulus value.
abstract void setNotify(boolean value)
Sets the notification's on/off switch value.
abstract void setOffset(Number value)
Sets the offset value.
abstract void setThreshold(Number value)
This method is deprecated. As of JMX 1.2, replaced by setInitThreshold(Number)
[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 getInitThreshold ()

Gets the initial threshold value common to all observed objects.

Returns
  • The initial threshold value.

public abstract Number getModulus ()

Gets the modulus value.

Returns
  • The modulus value.

public abstract boolean getNotify ()

Gets the notification's on/off switch value.

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

public abstract Number getOffset ()

Gets the offset value.

Returns
  • The offset value.

public abstract Number getThreshold ()

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

Gets the threshold value.

Returns
  • The threshold value.

public abstract Number getThreshold (ObjectName object)

Gets the threshold value for the specified MBean.

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

public abstract void setDifferenceMode (boolean value)

Sets the difference mode flag value.

Parameters
value The difference mode flag value.

public abstract void setInitThreshold (Number value)

Sets the initial threshold value common to all observed MBeans.

Parameters
value The initial threshold value.
Throws
IllegalArgumentException The specified threshold is null or the threshold value is less than zero.

public abstract void setModulus (Number value)

Sets the modulus value.

Parameters
value The modulus value.
Throws
IllegalArgumentException The specified modulus is null or the modulus value is less than zero.
See Also

public abstract void setNotify (boolean value)

Sets the notification's on/off switch value.

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

public abstract void setOffset (Number value)

Sets the offset value.

Parameters
value The offset value.
Throws
IllegalArgumentException The specified offset is null or the offset value is less than zero.
See Also

public abstract void setThreshold (Number value)

This method is deprecated.
As of JMX 1.2, replaced by setInitThreshold(Number)

Sets the threshold value.

Parameters
value The threshold value.
Throws
IllegalArgumentException The specified threshold is null or the threshold value is less than zero.
See Also