Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

weblogic.management.configuration
Interface SNMPCounterMonitorMBean

All Superinterfaces:
ConfigurationMBean, SNMPJMXMonitorMBean, SNMPTrapSourceMBean

public interface SNMPCounterMonitorMBean
extends SNMPJMXMonitorMBean

This class describes the criteria for a Counter-based Monitor. A notification will be generated when this criteria is satisfied.

Deprecation of MBeanHome and Type-Safe Interfaces

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."

Changes take effect after you redeploy the module or restart the server.

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, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 

Method Detail

getThreshold

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.

Returns:
The threshold value
Minimum Value:
0

setThreshold

void setThreshold(int threshold)

Sets the value of the Threshold attribute.

Parameters:
threshold - The new threshold value
See Also:
SNMPCounterMonitorMBean.getThreshold()

getOffset

int getOffset()

An integer value to be added to the threshold value each time the observed value equals or exceeds the threshold.

Returns:
The offset value
See Also:
SNMPCounterMonitorMBean.getThreshold()
Minimum Value:
0

setOffset

void setOffset(int offset)

Sets the value of the Offset attribute.

Parameters:
offset - The new offset value
See Also:
SNMPCounterMonitorMBean.getOffset()

getModulus

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.

Returns:
The modulus value
Minimum Value:
0

setModulus

void setModulus(int modulus)

Sets the value of the Modulus attribute.

Parameters:
modulus - The new modulus value
See Also:
SNMPCounterMonitorMBean.getModulus()

Copyright 1996, 2011, 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
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06