|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SNMPCounterMonitorMBean
This class describes the criteria for a Counter-based Monitor. A notification will be generated when this criteria is satisfied.
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 each time the observed value equals or exceeds the threshold. |
int |
getThreshold()
Specifies a value that triggers the Counter Monitor to generate a notification. |
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, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, 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 |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Method Detail |
---|
int getThreshold()
Specifies a value that triggers the Counter Monitor to generate a notification.
The monitor generates a notification the first time the observed value transitions from below the threshold to at or above the threshold. While the observed value remains at or above the threshold, the Counter Monitor does not generate additional notifications. If the observed value falls below the threshold and then later equals or exceeds the threshold, the Counter Monitor does not generate an additional notification.
You can specify an offset value to cause this threshold value to increase each time the observed value equals or exceeds the threshold. The first time the observed value equals or exceeds the new threshold value, this monitor generates a notification and adds the offset value to the new threshold value.
For example, if you set Threshold to 1000 and Offset to 2000, when the observed attribute equals or exceeds 1000, the Counter Monitor sends a notification and increases the threshold to 3000. When the observed attribute equals or exceeds 3000, the Counter Monitor sends a notification and increases the threshold again to 5000.
void setThreshold(int threshold)
Sets the value of the Threshold attribute.
threshold
- The new threshold valueSNMPCounterMonitorMBean.getThreshold()
int getOffset()
An integer value to be added to the threshold value each time the observed value equals or exceeds the threshold.
SNMPCounterMonitorMBean.getThreshold()
void setOffset(int offset)
Sets the value of the Offset attribute.
offset
- The new offset valueSNMPCounterMonitorMBean.getOffset()
int getModulus()
An integer value to be subtracted from the threshold value when the threshold value is crossed.
If Modulus is 0, a notification 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.
void setModulus(int modulus)
Sets the value of the Modulus attribute.
modulus
- The new modulus valueSNMPCounterMonitorMBean.getModulus()
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |