|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)This class describes the criteria for a Counter-based Monitor. A trap will be generated when this criteria is satisfied.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX"
on http://www.oracle.com/technology/documentation/index.html.
Field Summary |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
int |
getModulus()
An integer value to be subtracted from the threshold value when the threshold value is crossed. |
int |
getOffset()
An integer value to be added to the threshold value when the threshold is crossed. |
int |
getThreshold()
Specifies a value that triggers the Counter Monitor to generate a trap. |
void |
setModulus(int modulus)
Sets the value of the Modulus attribute. |
void |
setOffset(int offset)
Sets the value of the Offset attribute. |
void |
setThreshold(int threshold)
Sets the value of the Threshold attribute. |
Methods inherited from interface weblogic.management.configuration.SNMPJMXMonitorMBean |
getMonitoredAttributeName, getMonitoredMBeanName, getMonitoredMBeanType, getPollingInterval, setMonitoredAttributeName, setMonitoredMBeanName, setMonitoredMBeanType, setPollingInterval |
Methods inherited from interface weblogic.management.configuration.SNMPTrapSourceMBean |
addEnabledServer, getEnabledServers, removeEnabledServer, setEnabledServers |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
Method Detail |
public int getModulus()
An integer value to be subtracted from the threshold value when the threshold value is crossed.
If Modulus is 0, a trap is generated each time the agent polls the monitored attribute and its value still exceeds or equals the threshold value.
If Modulus is larger than 0, the value of the modulus is subtracted from the threshold each time the threshold is crossed.
public int getOffset()
An integer value to be added to the threshold value when the threshold is crossed.
If Offset is 0
, a trap is generated each time the
agent polls the monitored attribute and its value still exceeds or
equals the value in the Threshold.
If Offset is larger than 0
, the value of the offset
is added to the threshold each time the threshold is crossed.
For example, if you set Threshold to 1000 and Offset to 2000, when the observed attribute exceeds 1000, the Counter Monitor sends a notification and increases the threshold to 3000. When the observed attribute exceeds 3000, the Counter Monitor sends a notification and increases the threshold again to 5000.
public int getThreshold()
Specifies a value that triggers the Counter Monitor to generate a trap.
The Counter Monitor generates a trap each time it polls the value and determines that the value has transitioned from below the threshold to at or above the threshold. While the value remains at or above the threshold, the Counter Monitor does not generate additional traps.
If the threshold is 0, the counter monitor to generates a trap each time it polls the value, unless the value is negative.
public void setModulus(int modulus)
Sets the value of the Modulus attribute.
modulus
- The new modulus valuegetModulus()
public void setOffset(int offset)
Sets the value of the Offset attribute.
offset
- The new offset valuegetOffset()
public void setThreshold(int threshold)
Sets the value of the Threshold attribute.
threshold
- The new threshold valuegetThreshold()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |