tibrvQueueLimitPolicy
Type
Declaration
typedef enum {
TIBRVQUEUE_DISCARD_NONE,
TIBRVQUEUE_DISCARD_NEW,
TIBRVQUEUE_DISCARD_FIRST,
TIBRVQUEUE_DISCARD_LAST }tibrvQueueLimitPolicy
;
Purpose
Specify a strategy for resolving overflow of queue limit.
Value |
Description |
Never discard events; use this policy when a queue has no limit on the number of events it can contain. |
|
|
Discard the first event in the queue (that is, the oldest event in the queue, which would otherwise be the next event to dispatch). |
|
Discard the last event in the queue (that is, the youngest event in the queue). |
|
Discard the new event (which would otherwise cause the queue to overflow its maximum events limit). |
See Also
QUEUE.LIMIT_EXCEEDED
in