weblogic.management.configuration
Interface SNMPCounterMonitorMBean
- public interface SNMPCounterMonitorMBean
- extends SNMPJMXMonitorMBean
This class describes the criteria for a Counter-based Monitor.
A trap will be generated when this criteria is satisfied.
- Author:
- Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
Method Summary
|
int |
getModulus()
Defines an integer value to be subtracted from the threshold when the
threshold is crossed. |
int |
getOffset()
Defines an integer value to be added to the threshold when the
threshold is crossed. |
int |
getThreshold()
Defines a threshold that is an integer value. |
void |
setModulus(int modulus)
Sets the modulus attribute of the SNMPCounterMonitorMBean object |
void |
setOffset(int offset)
Sets the offset attribute of the SNMPCounterMonitorMBean object |
void |
setThreshold(int threshold)
Sets the threshold attribute of the SNMPCounterMonitorMBean object |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
CACHING_STUB_SVUID
public static final long CACHING_STUB_SVUID
getThreshold
public int getThreshold()
- Defines a threshold that is an integer value. A trap is generated
if the agent detects that the monitored attribute equals or exceeds
the threshold value.
- Legal Minimum Value: 0
- Returns:
- The threshold value
setThreshold
public void setThreshold(int threshold)
- Sets the threshold attribute of the SNMPCounterMonitorMBean object
- Parameters:
threshold
- The new threshold value
getOffset
public int getOffset()
- Defines an integer value to be added to the threshold 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 field.
- If Offset is larger than 0, the value of the offset is added to
the threshold each time the threshold is crossed.
- Legal Minimum Value: 0
- Returns:
- The offset value
setOffset
public void setOffset(int offset)
- Sets the offset attribute of the SNMPCounterMonitorMBean object
- Parameters:
offset
- The new offset value
getModulus
public int getModulus()
- Defines an integer value to be subtracted from the threshold when the
threshold 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 value in the Threshold field.
- If Modulus is larger than 0, the value of the modulus is subtracted from
the threshold each time the threshold is crossed.
- Legal Minimum Value: 0
- Returns:
- The modulus value
setModulus
public void setModulus(int modulus)
- Sets the modulus attribute of the SNMPCounterMonitorMBean object
- Parameters:
modulus
- The new modulus value