- All Superinterfaces:
- MonitorMBean
- All Known Implementing Classes:
- CounterMonitor
Exposes the remote management interface of the counter 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 initial threshold value common to all observed objects.Gets the modulus value.booleanGets the notification's on/off switch value.Gets the offset value.Deprecated.As of JMX 1.2, replaced bygetThreshold(ObjectName)getThreshold(ObjectName object) Gets the threshold value for the specified MBean.voidsetDifferenceMode(boolean value) Sets the difference mode flag value.voidsetInitThreshold(Number value) Sets the initial threshold value common to all observed MBeans.voidsetModulus(Number value) Sets the modulus value.voidsetNotify(boolean value) Sets the notification's on/off switch value.voidSets the offset value.voidsetThreshold(Number value) Deprecated.As of JMX 1.2, replaced bysetInitThreshold(java.lang.Number)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.
 
- 
getThresholdDeprecated.As of JMX 1.2, replaced bygetThreshold(ObjectName)Gets the threshold value.- Returns:
- The threshold value.
- See Also:
 
- 
setThresholdDeprecated.As of JMX 1.2, replaced bysetInitThreshold(java.lang.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:
 
- 
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.
 
- 
getThresholdGets 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 nullotherwise.
- See Also:
 
- 
getInitThresholdNumber getInitThreshold()Gets the initial threshold value common to all observed objects.- Returns:
- The initial threshold value.
- See Also:
 
- 
setInitThresholdSets 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.
- See Also:
 
- 
getOffsetNumber getOffset()Gets the offset value.- Returns:
- The offset value.
- See Also:
 
- 
setOffsetSets 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:
 
- 
getModulusNumber getModulus()Gets the modulus value.- Returns:
- The modulus value.
- See Also:
 
- 
setModulusSets 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:
 
- 
getNotifyboolean getNotify()Gets the notification's on/off switch value.- Returns:
- trueif the counter monitor notifies when exceeding the threshold,- falseotherwise.
- See Also:
 
- 
setNotifyvoid setNotify(boolean value) Sets the notification's on/off switch value.- Parameters:
- value- The 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)