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.j2ee.descriptor.wl
Interface ThresholdParamsBean

All Superinterfaces:
SettableBean

public interface ThresholdParamsBean
extends SettableBean

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.


Method Summary
abstract  long getBytesHigh()
          The upper threshold (total number of bytes in this destination) that triggers logging or flow control events.
abstract  long getBytesLow()
          The lower threshold (total number of bytes in this destination) that triggers logging or flow control events.
abstract  long getMessagesHigh()
          The upper threshold (total number of messages in this destination) that triggers logging or flow control events.
abstract  long getMessagesLow()
          The lower threshold (total number of messages in this destination) that triggers logging or flow control events.
abstract  TemplateBean getTemplateBean()
          Finds the template bean for this destination.
abstract  void setBytesHigh(long bytesHigh)
          Sets the value of the BytesHigh attribute.
abstract  void setBytesLow(long bytesLow)
          Sets the value of the BytesLow attribute.
abstract  void setMessagesHigh(long messagesHigh)
          Sets the value of the MessagesHigh attribute.
abstract  void setMessagesLow(long messagesLow)
          Sets the value of the MessagesLow attribute.

 

Method Detail

getBytesHigh

long getBytesHigh()

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:

Range of Values: <= BytesMaximum; >BytesThresholdLow

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

Returns:
The upper value that triggers events based on bytes stored

setBytesHigh

void setBytesHigh(long bytesHigh)
                  throws IllegalArgumentException

Sets the value of the BytesHigh attribute.

Parameters:
bytesHigh - The upper value that triggers events based on bytes stored
Throws:
IllegalArgumentException
See Also:
ThresholdParamsBean.getBytesHigh()

getBytesLow

long getBytesLow()

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:

Range of Values: < BytesThresholdHigh

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

Returns:
The lower value that triggers events based on bytes stored

setBytesLow

void setBytesLow(long bytesLow)
                 throws IllegalArgumentException

Sets the value of the BytesLow attribute.

Parameters:
bytesLow - The lower value that triggers events based on bytes stored
Throws:
IllegalArgumentException
See Also:
ThresholdParamsBean.getBytesLow()

getMessagesHigh

long getMessagesHigh()

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:

Range of Values: <= MessagesMaximum; >MessagesThresholdLow

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

Returns:
The upper value that triggers events based on messages stored

setMessagesHigh

void setMessagesHigh(long messagesHigh)
                     throws IllegalArgumentException

Sets the value of the MessagesHigh attribute.

Parameters:
messagesHigh - The upper value that triggers events based on messages stored
Throws:
IllegalArgumentException
See Also:
ThresholdParamsBean.getMessagesHigh()

getMessagesLow

long getMessagesLow()

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:

Range of Values: < MessagesThresholdHigh

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

Returns:
The lower value that triggers events based on messages stored

setMessagesLow

void setMessagesLow(long messagesLow)
                    throws IllegalArgumentException

Sets the value of the MessagesLow attribute.

Parameters:
messagesLow - The lower value that triggers events based on messages stored
Throws:
IllegalArgumentException
See Also:
ThresholdParamsBean.getMessagesLow()

getTemplateBean

TemplateBean getTemplateBean()

Finds the template bean for this destination.

Returns:
The template bean that will be used for this destination, or null if this threshold bean is from a template or a template could not be found for this destination

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