tibrvQueue_GetLimitPolicy()
Function
Declaration
tibrv_statustibrvQueue_GetLimitPolicy
(
tibrvQueue eventQueue,
tibrvQueueLimitPolicy* policy,
tibrv_u32* maxEvents,
tibrv_u32* discardAmount);
Purpose
Extract the limit properties of a queue.
Parameter |
Description |
|
Extract the limit information from this queue. |
|
Each queue has a policy for discarding events when a new event would cause the queue to exceed its The program supplies a location, and the function stores the limit policy of the queue in that location. |
|
Programs can limit the number of events that a queue can hold—either to curb queue growth, or implement a specialized dispatch semantics. Zero specifies an unlimited number of events. The program supplies a location, and the function stores the maximum event limit of the queue in that location. |
|
When the queue exceeds its maximum event limit, discard a block of events. This property specifies the number of events to discard. The program supplies a location, and the function stores the discard amount of the queue in that location. |
See Also
QUEUE.LIMIT_EXCEEDED in