FileDocCategorySizeDatePackage
CounterMonitorMBean.javaAPI DocJava SE 5 API5700Fri Aug 26 14:57:34 BST 2005javax.management.monitor

CounterMonitorMBean

public interface CounterMonitorMBean implements MonitorMBean
Exposes the remote management interface of the counter monitor MBean.
version
4.26 05/18/04
author
Sun Microsystems, Inc
since
1.5

Fields Summary
Constructors Summary
Methods Summary
public java.lang.NumbergetDerivedGauge()
Gets the derived gauge.

return
The derived gauge.
deprecated
As of JMX 1.2, replaced by {@link #getDerivedGauge(ObjectName)}

public java.lang.NumbergetDerivedGauge(javax.management.ObjectName object)
Gets the derived gauge for the specified MBean.

param
object the MBean for which the derived gauge is to be returned
return
The derived gauge for the specified MBean if this MBean is in the set of observed MBeans, or null otherwise.
since.unbundled
JMX 1.2

public longgetDerivedGaugeTimeStamp()
Gets the derived gauge timestamp.

return
The derived gauge timestamp.
deprecated
As of JMX 1.2, replaced by {@link #getDerivedGaugeTimeStamp(ObjectName)}

public longgetDerivedGaugeTimeStamp(javax.management.ObjectName object)
Gets the derived gauge timestamp for the specified MBean.

param
object the MBean for which the derived gauge timestamp is to be returned
return
The derived gauge timestamp for the specified MBean if this MBean is in the set of observed MBeans, or null otherwise.
since.unbundled
JMX 1.2

public booleangetDifferenceMode()
Gets the difference mode flag value.

return
true if the difference mode is used, false otherwise.
see
#setDifferenceMode

public java.lang.NumbergetInitThreshold()
Gets the initial threshold value common to all observed objects.

return
The initial threshold value.
see
#setInitThreshold
since.unbundled
JMX 1.2

public java.lang.NumbergetModulus()
Gets the modulus value.

return
The modulus value.
see
#setModulus

public booleangetNotify()
Gets the notification's on/off switch value.

return
true if the counter monitor notifies when exceeding the threshold, false otherwise.
see
#setNotify

public java.lang.NumbergetOffset()
Gets the offset value.

see
#setOffset(Number)
return
The offset value.

public java.lang.NumbergetThreshold()
Gets the threshold value.

return
The threshold value.
see
#setThreshold(Number)
deprecated
As of JMX 1.2, replaced by {@link #getThreshold(ObjectName)}

public java.lang.NumbergetThreshold(javax.management.ObjectName object)
Gets the threshold value for the specified MBean.

param
object the MBean for which the threshold value is to be returned
return
The threshold value for the specified MBean if this MBean is in the set of observed MBeans, or null otherwise.
see
#setThreshold
since.unbundled
JMX 1.2

public voidsetDifferenceMode(boolean value)
Sets the difference mode flag value.

param
value The difference mode flag value.
see
#getDifferenceMode

public voidsetInitThreshold(java.lang.Number value)
Sets the initial threshold value common to all observed MBeans.

param
value The initial threshold value.
exception
java.lang.IllegalArgumentException The specified threshold is null or the threshold value is less than zero.
see
#getInitThreshold
since.unbundled
JMX 1.2

public voidsetModulus(java.lang.Number value)
Sets the modulus value.

param
value The modulus value.
exception
java.lang.IllegalArgumentException The specified modulus is null or the modulus value is less than zero.
see
#getModulus

public voidsetNotify(boolean value)
Sets the notification's on/off switch value.

param
value The notification's on/off switch value.
see
#getNotify

public voidsetOffset(java.lang.Number value)
Sets the offset value.

param
value The offset value.
exception
java.lang.IllegalArgumentException The specified offset is null or the offset value is less than zero.
see
#getOffset()

public voidsetThreshold(java.lang.Number value)
Sets the threshold value.

see
#getThreshold()
param
value The threshold value.
exception
java.lang.IllegalArgumentException The specified threshold is null or the threshold value is less than zero.
deprecated
As of JMX 1.2, replaced by {@link #setInitThreshold}