|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Exposes the remote management interface of the counter monitor MBean.
Method Summary | |
java.lang.Number |
getDerivedGauge()
Deprecated. As of JMX 1.2, replaced by getDerivedGauge(ObjectName) |
java.lang.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. |
java.lang.Number |
getInitThreshold()
Gets the initial threshold value common to all observed objects. |
java.lang.Number |
getModulus()
Gets the modulus value. |
boolean |
getNotify()
Gets the notification's on/off switch value. |
java.lang.Number |
getOffset()
Gets the offset value. |
java.lang.Number |
getThreshold()
Deprecated. As of JMX 1.2, replaced by getThreshold(ObjectName) |
java.lang.Number |
getThreshold(ObjectName object)
Gets the threshold value for the specified MBean. |
void |
setDifferenceMode(boolean value)
Sets the difference mode flag value. |
void |
setInitThreshold(java.lang.Number value)
Sets the initial threshold value common to all observed MBeans. |
void |
setModulus(java.lang.Number value)
Sets the modulus value. |
void |
setNotify(boolean value)
Sets the notification's on/off switch value. |
void |
setOffset(java.lang.Number value)
Sets the offset value. |
void |
setThreshold(java.lang.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 |
public java.lang.Number getDerivedGauge()
getDerivedGauge(ObjectName)
public long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName)
public java.lang.Number getThreshold()
getThreshold(ObjectName)
setThreshold(Number)
public void setThreshold(java.lang.Number value) throws java.lang.IllegalArgumentException
setInitThreshold(java.lang.Number)
value
- The threshold value.
java.lang.IllegalArgumentException
- The specified threshold is null or the threshold value is less than zero.getThreshold()
public java.lang.Number getDerivedGauge(ObjectName object)
object
- the MBean for which the derived gauge is to be returned
null
otherwise.public long getDerivedGaugeTimeStamp(ObjectName object)
object
- the MBean for which the derived gauge timestamp is to be returned
null
otherwise.public java.lang.Number getThreshold(ObjectName object)
object
- the MBean for which the threashold value is to be returned
null
otherwise.setThreshold(java.lang.Number)
public java.lang.Number getInitThreshold()
setInitThreshold(java.lang.Number)
public void setInitThreshold(java.lang.Number value) throws java.lang.IllegalArgumentException
value
- The initial threshold value.
java.lang.IllegalArgumentException
- The specified
threshold is null or the threshold value is less than zero.getInitThreshold()
public java.lang.Number getOffset()
setOffset(Number)
public void setOffset(java.lang.Number value) throws java.lang.IllegalArgumentException
value
- The offset value.
java.lang.IllegalArgumentException
- The specified
offset is null or the offset value is less than zero.getOffset()
public java.lang.Number getModulus()
setModulus(java.lang.Number)
public void setModulus(java.lang.Number value) throws java.lang.IllegalArgumentException
value
- The modulus value.
java.lang.IllegalArgumentException
- The specified
modulus is null or the modulus value is less than zero.getModulus()
public boolean getNotify()
true
if the counter monitor notifies when
exceeding the threshold, false
otherwise.setNotify(boolean)
public void setNotify(boolean value)
value
- The notification's on/off switch value.getNotify()
public boolean getDifferenceMode()
true
if the difference mode is used,
false
otherwise.setDifferenceMode(boolean)
public void setDifferenceMode(boolean value)
value
- The difference mode flag value.getDifferenceMode()
|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.