Open topic with navigation

TIBCO Rendezvous® 8.7.0

# tibrvcmTransport_SetWorkerWeight()

Function

## Declaration

    tibrv_status tibrvcmTransport_SetWorkerWeight(
        tibrvcmTransport     cmTransport,
        tibrv_u32            workerWeight);

## Purpose

Set the worker weight of a distributed queue transport.

## Remarks

Relative worker weights assist the scheduler in assigning tasks. When the scheduler receives a task, it assigns the task to the available worker with the greatest worker weight.

The default worker weight is 1; programs can set this parameter at creation using tibrvcmTransport_CreateDistributedQueue(), or change it dynamically using this function.

Parameter | Description
`cmTransport` | Set the worker weight of this distributed queue transport.
`workerWeight` | Use this worker weight.

## See Also

Distributed Queue, in TIBCO Rendezvous Concepts

tibrvcmTransport_CreateDistributedQueue()

tibrvcmTransport_GetWorkerWeight()

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.