| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CounterMonitorMBean extends MonitorMBean
Exposes the remote management interface of the counter monitor MBean.
Method Summary | |
---|---|
Number |
Gets the derived gauge. |
Number |
getDerivedGauge(ObjectName object) Gets the derived gauge for the specified MBean. |
long |
Gets the derived gauge timestamp. |
long |
getDerivedGaugeTimeStamp(ObjectName object) Gets the derived gauge timestamp for the specified MBean. |
boolean |
Gets the difference mode flag value. |
Number |
Gets the initial threshold value common to all observed objects. |
Number |
Gets the modulus value. |
boolean |
Gets the notification's on/off switch value. |
Number |
Gets the offset value. |
Number |
Gets the threshold value. |
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 |
Sets the offset value. |
void |
setThreshold(Number value) Sets the threshold value. |
Methods inherited from class javax.management.monitor.MonitorMBean |
---|
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop |
Method Detail |
---|
public Number getDerivedGauge()
public Number getDerivedGauge(ObjectName object)
object
- the MBean for which the derived gauge is to be returnednull
otherwise.public long getDerivedGaugeTimeStamp()
public long getDerivedGaugeTimeStamp(ObjectName object)
object
- the MBean for which the derived gauge timestamp is to be returnednull
otherwise.public boolean getDifferenceMode()
true
if the difference mode is used,
false
otherwise.public Number getInitThreshold()
public Number getModulus()
public boolean getNotify()
true
if the counter monitor notifies when
exceeding the threshold, false
otherwise.public Number getOffset()
public Number getThreshold()
public Number getThreshold(ObjectName object)
object
- the MBean for which the threshold value is to be returnednull
otherwise.public void setDifferenceMode(boolean value)
value
- The difference mode flag value.public 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.public void setModulus(Number value) throws IllegalArgumentException
value
- The modulus value.IllegalArgumentException
- The specified
modulus is null or the modulus value is less than zero.public void setNotify(boolean value)
value
- The notification's on/off switch value.public void setOffset(Number value) throws IllegalArgumentException
value
- The offset value.IllegalArgumentException
- The specified
offset is null or the offset value is less than zero.public void setThreshold(Number value) throws IllegalArgumentException
value
- The threshold value.IllegalArgumentException
- The specified threshold is null or the threshold value is less than zero.
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |