FileDocCategorySizeDatePackage
GaugeStatisticMonitorMBean.javaAPI DocGlassfish v2 API6077Fri May 04 22:33:44 BST 2007com.sun.enterprise.admin.selfmanagement.event

GaugeStatisticMonitorMBean

public interface GaugeStatisticMonitorMBean implements StatisticMonitorMBean
Exposes the remote management interface of the gauge statistic monitor MBean. Used for JDK version greater than 1.5.
author
Sun Microsystems, Inc

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.NumbergetHighThreshold()
Gets the high threshold value.

return
The high threshold value.

public java.lang.NumbergetLowThreshold()
Gets the low threshold value.

return
The low threshold value.

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

return
true if the gauge monitor notifies when exceeding the high threshold, false otherwise.
see
#setNotifyHigh

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

return
true if the gauge monitor notifies when exceeding the low threshold, false otherwise.
see
#setNotifyLow

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

param
value The difference mode flag value.
see
#getDifferenceMode

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

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

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

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

public voidsetThresholds(java.lang.Number highValue, java.lang.Number lowValue)
Sets the high and the low threshold values.

param
highValue The high threshold value.
param
lowValue The low threshold value.
exception
java.lang.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.