|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CounterMonitorMBean
Exposes the remote management interface of the counter 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 |
getInitThreshold()
Gets the initial threshold value common to all observed objects. |
Number |
getModulus()
Gets the modulus value. |
boolean |
getNotify()
Gets the notification's on/off switch value. |
Number |
getOffset()
Gets the offset value. |
Number |
getThreshold()
Deprecated. As of JMX 1.2, replaced by getThreshold(ObjectName) |
Number |
getThreshold(ObjectName object)
Gets the threshold value for the specified MBean. |
void |
setDifferenceMode(boolean value)
Sets the difference mode flag value. |
void |
setInitThreshold(Number value)
Sets the initial threshold value common to all observed MBeans. |
void |
setModulus(Number value)
Sets the modulus value. |
void |
setNotify(boolean value)
Sets the notification's on/off switch value. |
void |
setOffset(Number value)
Sets the offset value. |
void |
setThreshold(Number value)
Deprecated. As of JMX 1.2, replaced by setInitThreshold(java.lang.Number) |
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)
@Deprecated Number getThreshold()
getThreshold(ObjectName)
setThreshold(Number)
@Deprecated void setThreshold(Number value) throws IllegalArgumentException
setInitThreshold(java.lang.Number)
value
- The threshold value.
IllegalArgumentException
- The specified threshold is null or the threshold value is less than zero.getThreshold()
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 getThreshold(ObjectName object)
object
- the MBean for which the threshold value is to be returned
null
otherwise.setThreshold(java.lang.Number)
Number getInitThreshold()
setInitThreshold(java.lang.Number)
void setInitThreshold(Number value) throws IllegalArgumentException
value
- The initial threshold value.
IllegalArgumentException
- The specified
threshold is null or the threshold value is less than zero.getInitThreshold()
Number getOffset()
setOffset(Number)
void setOffset(Number value) throws IllegalArgumentException
value
- The offset value.
IllegalArgumentException
- The specified
offset is null or the offset value is less than zero.getOffset()
Number getModulus()
setModulus(java.lang.Number)
void setModulus(Number value) throws IllegalArgumentException
value
- The modulus value.
IllegalArgumentException
- The specified
modulus is null or the modulus value is less than zero.getModulus()
boolean getNotify()
true
if the counter monitor notifies when
exceeding the threshold, false
otherwise.setNotify(boolean)
void setNotify(boolean value)
value
- The notification's on/off switch value.getNotify()
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, 2010, Oracle and/or its affiliates. All rights reserved.