Parameters |
Description |
const MString& rsCmqName |
The name of this distributed queue |
Mu4 uWorkerWeight |
When a CMQ scheduler receives a task, worker weight can be used to affect which member of a distributed queue is assigned that task. A greater worker weight indicates a preference for receiving tasks. |
Mu4 uWorkerTasks |
The maximum number of tasks a worker can accept before being considered busy. Typically set to 1, and must be greater than zero. |
Mu2 uSchedulerWeight |
Represents the ability of this distributed queue member to become the scheduler. Distributed queue members elect a scheduler among themselves with the highest scheduler weight becoming the scheduler. |
unsigned long ulSchedulerHeartbeat |
The scheduler sends heartbeats in this interval (in milliseconds). It must be positive, and all members of this distributed queue must have the same value. |
unsigned long ulSchedulerActivation |
When a scheduler has been silent for this interval (sent no heartbeat), the member with the greatest scheduler weight takes its place as the new scheduler. |