|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GaugeMonitorMBean
Exposes the remote management interface of the gauge monitor MBean.
Method Summary | |
---|---|
Number |
getDerivedGauge()
Deprecated. As of JMX 1.2, replaced by getDerivedGauge(ObjectName) |
Number |
getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean. |
long |
getDerivedGaugeTimeStamp()
Deprecated. As of JMX 1.2, replaced by getDerivedGaugeTimeStamp(ObjectName) |
long |
getDerivedGaugeTimeStamp(ObjectName object)
Gets the derived gauge timestamp for the specified MBean. |
boolean |
getDifferenceMode()
Gets the difference mode flag value. |
Number |
getHighThreshold()
Gets the high threshold value. |
Number |
getLowThreshold()
Gets the low threshold value. |
boolean |
getNotifyHigh()
Gets the high notification's on/off switch value. |
boolean |
getNotifyLow()
Gets the low notification's on/off switch value. |
void |
setDifferenceMode(boolean value)
Sets the difference mode flag value. |
void |
setNotifyHigh(boolean value)
Sets the high notification's on/off switch value. |
void |
setNotifyLow(boolean value)
Sets the low notification's on/off switch value. |
void |
setThresholds(Number highValue,
Number lowValue)
Sets the high and the low threshold values. |
Methods inherited from interface javax.management.monitor.MonitorMBean |
---|
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop |
Method Detail |
---|
@Deprecated Number getDerivedGauge()
getDerivedGauge(ObjectName)
@Deprecated long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
Number getDerivedGauge(ObjectName object)
object
- the MBean for which the derived gauge is to be returned
null
otherwise.long getDerivedGaugeTimeStamp(ObjectName object)
object
- the MBean for which the derived gauge timestamp is to be returned
null
otherwise.Number getHighThreshold()
Number getLowThreshold()
void setThresholds(Number highValue, Number lowValue) throws IllegalArgumentException
highValue
- The high threshold value.lowValue
- The low threshold value.
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.boolean getNotifyHigh()
true
if the gauge monitor notifies when
exceeding the high threshold, false
otherwise.setNotifyHigh(boolean)
void setNotifyHigh(boolean value)
value
- The high notification's on/off switch value.getNotifyHigh()
boolean getNotifyLow()
true
if the gauge monitor notifies when
exceeding the low threshold, false
otherwise.setNotifyLow(boolean)
void setNotifyLow(boolean value)
value
- The low notification's on/off switch value.getNotifyLow()
boolean getDifferenceMode()
true
if the difference mode is used,
false
otherwise.setDifferenceMode(boolean)
void setDifferenceMode(boolean value)
value
- The difference mode flag value.getDifferenceMode()
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.