Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface SNMPCounterMonitorMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, SNMPJMXMonitorMBean, SNMPTrapSourceMBean, WebLogicMBean

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.


Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  long getModulus()
          A value to be subtracted from the threshold value when the threshold value is crossed.
abstract  long getOffset()
          A value to be added to the threshold value each time the observed value equals or exceeds the threshold.
abstract  long getThreshold()
          Specifies a value that triggers the Counter Monitor to generate a notification.
abstract  void setModulus(long modulus)
          Sets the value of the Modulus attribute.
abstract  void setOffset(long offset)
          Sets the value of the Offset attribute.
abstract  void setThreshold(long 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

getThreshold

long 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

setThreshold

void setThreshold(long threshold)

Sets the value of the Threshold attribute.

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

getOffset

long getOffset()

A 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()

setOffset

void setOffset(long offset)

Sets the value of the Offset attribute.

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

getModulus

long getModulus()

A 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

setModulus

void setModulus(long modulus)

Sets the value of the Modulus attribute.

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

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09