TibrvQueue.setPriority()

Method

Declaration

void setPriority(int priority)
  throws TibrvException

Purpose

Set the priority of a queue.

Remarks

Each queue has a single priority value, which controls its dispatch precedence within queue groups. Higher values dispatch before lower values; queues with equal priority values dispatch in round-robin fashion.

Changing the priority of a queue affects its position in all the queue groups that contain it.

Parameter

Description

priority

Replace the priority of the queue with this new value.

The priority must be a non-negative integer. Priority zero signifies the last queue to dispatch.

See Also

TibrvQueue.getPriority()