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

TIBRVQUEUE_DISCARD_NONE

Never discard events; use this policy when a queue has no limit on the number of events it can contain.

TIBRVQUEUE_DISCARD_FIRST

Discard the first event in the queue (that is, the oldest event in the queue, which would otherwise be the next event to dispatch).

TIBRVQUEUE_DISCARD_LAST

Discard the last event in the queue (that is, the youngest event in the queue).

TIBRVQUEUE_DISCARD_NEW

Discard the new event (which would otherwise cause the queue to overflow its maximum events limit).

See Also

tibrvQueue_Create()

tibrvQueue_GetLimitPolicy()

tibrvQueue_SetLimitPolicy()

QUEUE.LIMIT_EXCEEDED in TIBCO Rendezvous Concepts