# ThresholdParamsBean

Overview | Related MBeans | Attributes | Operations

## Overview

Thresholds are a point that must be exceeded in order to produce a given effect. These action points may cause logging or flow control or other actions, as defined by the specific points whose values have been exceeded.

Security roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean: Deployer
Fully Qualified Interface Name | If you use the `getMBeanInfo` operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name: `weblogic.j2ee.descriptor.wl.ThresholdParamsBean`
Factory Methods | No factory methods. Instances of this MBean are created automatically.
Access Points | You can access this MBean from the following MBean attributes:
DestinationBean.Thresholds QueueBean.Thresholds TemplateBean.Thresholds TopicBean.Thresholds | UniformDistributedDestinationBean.Thresholds UniformDistributedQueueBean.Thresholds UniformDistributedTopicBean.Thresholds

## Related MBeans

This section describes attributes that provide access to other MBeans. For more information about the MBean hierarchy, refer to WebLogic Server MBean Data Model.

TemplateBean |

### TemplateBean

Finds the template bean for this destination.

Privileges | Read only
Type | TemplateBean
Relationship type: | Reference.

## Attributes

This section describes the following attributes:

BytesHigh BytesLow MessagesHigh | MessagesLow

### BytesHigh

The upper threshold (total number of bytes in this destination) that triggers logging or flow control events. The value of java.lang.Long.MAX_VALUE disables logging and flow control events for the destination.

If the number of bytes exceeds this threshold, the triggered events are:

- Log Messages

  A message is logged on the server indicating a high threshold condition.

- Flow Control

  If flow control is enabled, the destination becomes armed and instructs producers to begin decreasing their message flow.

Range of Values: <= BytesMaximum; >BytesThresholdLow

Any change to this threshold affects only incoming messages; stored messages are not affected.

Privileges | Read/Write
Type | long
Default Value | 9223372036854775807
Minimum value | 0
Maximum value | 9223372036854775807

### BytesLow

The lower threshold (total number of bytes in this destination) that triggers logging or flow control events. The value of java.lang.Long.MAX_VALUE disables logging and flow control events for the destination.

If the number of bytes falls below this threshold, the triggered events are:

- Log Messages

  A message is logged on the server indicating a low threshold condition.

- Flow Control

  If flow control is enabled, the destination becomes disarmed and instructs producers to begin increasing their message flow.

Range of Values: < BytesThresholdHigh

Any change to this threshold affects only incoming messages; stored messages are not affected.

Privileges | Read/Write
Type | long
Default Value | 9223372036854775807
Minimum value | 0
Maximum value | 9223372036854775807

### MessagesHigh

The upper threshold (total number of messages in this destination) that triggers logging or flow control events. The value of java.lang.Long.MAX_VALUE disables logging and flow control events for the destination.

If the number of messages exceeds this threshold, the triggered events are:

- Log Messages

  A message is logged on the server indicating a high threshold condition.

- Flow Control

  If flow control is enabled, the destination becomes armed and instructs producers to begin decreasing their message flow.

Range of Values: <= MessagesMaximum; >MessagesThresholdLow

Any change to this threshold affects only incoming messages; stored messages are not affected.

Privileges | Read/Write
Type | long
Default Value | 9223372036854775807
Minimum value | 0
Maximum value | 9223372036854775807

### MessagesLow

The lower threshold (total number of messages in this destination) that triggers logging or flow control events. The value of java.lang.Long.MAX_VALUE disables logging and flow control events for the destination.

If the number of messages falls below this threshold, the triggered events are:

- Log Messages

  A message is logged on the server indicating a low threshold condition.

- Flow Control

  If flow control is enabled, the destination becomes disarmed and instructs producers to begin increasing their message flow.

Range of Values: < MessagesThresholdHigh

Any change to this threshold affects only incoming messages; stored messages are not affected.

Privileges | Read/Write
Type | long
Default Value | 9223372036854775807
Minimum value | 0
Maximum value | 9223372036854775807

## Operations

This section describes the following operations:

isSet unSet |

### isSet

Return true if the given property has been explicitly set in this bean.

Operation Name | `"isSet"`
Parameters | `Object [] { propertyName }` where: `propertyName` is an object of type `java.lang.String` that specifies: property to check
Signature | `String [] { "java.lang.String" }`
Returns | `boolean`
Exceptions | `java.lang.IllegalArgumentException` IllegalArgumentException if propertyName is not a recognized property

### unSet

Restore the given property to its default value.

Operation Name | `"unSet"`
Parameters | `Object [] { propertyName }` where: `propertyName` is an object of type `java.lang.String` that specifies: property to restore
Signature | `String [] { "java.lang.String" }`
Returns | `void`
Exceptions | `java.lang.IllegalArgumentException` UnsupportedOperationException if called on a runtime implementation.