|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ThresholdParamsBean
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 | |
|---|---|
long |
getBytesHigh()
The upper threshold (total number of bytes in this destination) that triggers logging or flow control events. |
long |
getBytesLow()
The lower threshold (total number of bytes in this destination) that triggers logging or flow control events. |
long |
getMessagesHigh()
The upper threshold (total number of messages in this destination) that triggers logging or flow control events. |
long |
getMessagesLow()
The lower threshold (total number of messages in this destination) that triggers logging or flow control events. |
TemplateBean |
getTemplateBean()
Finds the template bean for this destination. |
void |
setBytesHigh(long bytesHigh)
Sets the value of the BytesHigh attribute. |
void |
setBytesLow(long bytesLow)
Sets the value of the BytesLow attribute. |
void |
setMessagesHigh(long messagesHigh)
Sets the value of the MessagesHigh attribute. |
void |
setMessagesLow(long messagesLow)
Sets the value of the MessagesLow attribute. |
| Methods inherited from interface weblogic.descriptor.SettableBean |
|---|
isSet, unSet |
| Method Detail |
|---|
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:
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.
void setBytesHigh(long bytesHigh)
throws IllegalArgumentException
bytesHigh - The upper value that triggers events based on bytes stored
IllegalArgumentExceptionThresholdParamsBean.getBytesHigh()
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:
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.
void setBytesLow(long bytesLow)
throws IllegalArgumentException
bytesLow - The lower value that triggers events based on bytes stored
IllegalArgumentExceptionThresholdParamsBean.getBytesLow()
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:
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.
void setMessagesHigh(long messagesHigh)
throws IllegalArgumentException
messagesHigh - The upper value that triggers events based on messages stored
IllegalArgumentExceptionThresholdParamsBean.getMessagesHigh()
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:
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.
void setMessagesLow(long messagesLow)
throws IllegalArgumentException
messagesLow - The lower value that triggers events based on messages stored
IllegalArgumentExceptionThresholdParamsBean.getMessagesLow()
TemplateBean getTemplateBean()
Finds the template bean for this destination.
|
Copyright 1996, 2014, 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.1.3) Part Number E41849-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||