Interface GaugeMonitorMBean
- All Superinterfaces:
- MonitorMBean
- All Known Implementing Classes:
- GaugeMonitor
Exposes the remote management interface of the gauge monitor MBean.
- Since:
- 1.5
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.getDerivedGauge(ObjectName object) Gets the derived gauge for the specified MBean.longDeprecated.As of JMX 1.2, replaced bygetDerivedGaugeTimeStamp(ObjectName)longgetDerivedGaugeTimeStamp(ObjectName object) Gets the derived gauge timestamp for the specified MBean.booleanGets the difference mode flag value.Gets the high threshold value.Gets the low threshold value.booleanGets the high notification's on/off switch value.booleanGets the low notification's on/off switch value.voidsetDifferenceMode(boolean value) Sets the difference mode flag value.voidsetNotifyHigh(boolean value) Sets the high notification's on/off switch value.voidsetNotifyLow(boolean value) Sets the low notification's on/off switch value.voidsetThresholds(Number highValue, Number lowValue) Sets the high and the low threshold values.Methods declared in interface javax.management.monitor.MonitorMBeanaddObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop
- 
Method Details- 
getDerivedGaugeDeprecated.As of JMX 1.2, replaced bygetDerivedGauge(ObjectName)Gets the derived gauge.- Returns:
- The derived gauge.
 
- 
getDerivedGaugeTimeStampDeprecated.As of JMX 1.2, replaced bygetDerivedGaugeTimeStamp(ObjectName)Gets the derived gauge timestamp.- Returns:
- The derived gauge timestamp.
 
- 
getDerivedGaugeGets 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 nullotherwise.
 
- 
getDerivedGaugeTimeStampGets 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 nullotherwise.
 
- 
getHighThreshold
- 
getLowThreshold
- 
setThresholdsSets 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.
 
- 
getNotifyHighboolean getNotifyHigh()Gets the high notification's on/off switch value.- Returns:
- trueif the gauge monitor notifies when exceeding the high threshold,- falseotherwise.
- See Also:
 
- 
setNotifyHighvoid setNotifyHigh(boolean value) Sets the high notification's on/off switch value.- Parameters:
- value- The high notification's on/off switch value.
- See Also:
 
- 
getNotifyLowboolean getNotifyLow()Gets the low notification's on/off switch value.- Returns:
- trueif the gauge monitor notifies when exceeding the low threshold,- falseotherwise.
- See Also:
 
- 
setNotifyLowvoid setNotifyLow(boolean value) Sets the low notification's on/off switch value.- Parameters:
- value- The low notification's on/off switch value.
- See Also:
 
- 
getDifferenceModeboolean getDifferenceMode()Gets the difference mode flag value.- Returns:
- trueif the difference mode is used,- falseotherwise.
- See Also:
 
- 
setDifferenceModevoid setDifferenceMode(boolean value) Sets the difference mode flag value.- Parameters:
- value- The difference mode flag value.
- See Also:
 
 
- 
getDerivedGauge(ObjectName)