TIBCO EMS .NET API 10.3
TIBCO EMS .NET API 10.3
|
This class represents the discard policy of the TIBCO Rendezvous queues used internally by the TIBCO EMS Server when importing messages from TIBCO Rendezvous. More...
Public Member Functions | |
override string | ToString () |
Returns a String that represents the current Object More... | |
Properties | |
PolicyType | Policy [get] |
Returns the policy of this discard policy. More... | |
string | PolicyName [get] |
Returns a string representation of the discard policy. More... | |
int | MaxEvents [get] |
The maximum number of messages that the TIBCO RV queue can hold before starting to discard messages. More... | |
int | DiscardAmount [get] |
When the TIBCO RV queue exceeds its maximum message limit, discard a block of messages. This value is the number of messages to discard. More... | |
This class represents the discard policy of the TIBCO Rendezvous queues used internally by the TIBCO EMS Server when importing messages from TIBCO Rendezvous.
Each transport uses a TIBCO RV queue, and therefore a discard policy can be defined per transport. The default policy, if omitted, is TIBCO.EMS.ADMIN.PolicyType.TIBRVQUEUE_DISCARD_NONE, which means that no message is ever discarded.
Note that in a fast producer situation, this can lead to a rapid TIBCO EMS process memory growth since the internal TIBCO RV queue may hold a lot of RV messages waiting to be processed as EMS messages. Specifying a discard policy other than TIBRVQUEUE_DISCARD_NONE
causes excess TIBCO RV messages to be discarded, and therefore not imported by the TIBCO EMS Server, but help prevents unbound memory growth.
Since EMS 5.0
|
inline |
Returns a String that represents the current Object
|
get |
When the TIBCO RV queue exceeds its maximum message limit, discard a block of messages. This value is the number of messages to discard.
|
get |
The maximum number of messages that the TIBCO RV queue can hold before starting to discard messages.
|
get |
Returns the policy of this discard policy.
|
get |
Returns a string representation of the discard policy.