Open topic with navigation

TIBCO Rendezvous® 8.7.0

# tibrvcmTransport_SetCompleteTime()

Function

## Declaration

    tibrv_status tibrvcmTransport_SetCompleteTime(
        tibrvcmTransport     cmTransport,
        tibrv_f64            completeTime);

## Purpose

Set the worker complete time limit of a distributed queue transport.

## Remarks

The complete time parameter of the scheduler affects the reassignment of tasks:

If the complete time is non-zero, the scheduler waits for a worker member to complete an assigned task. If the complete time elapses before the scheduler receives completion from the worker member, the scheduler reassigns the task to another worker member.

Zero is a special value, which specifies no limit on the completion time—that is, the scheduler does not set a timer, and does not reassign tasks when task completion is lacking. All members implicitly begin with a default complete time value of zero; programs can change this parameter using this function.

Parameter | Description
`cmTransport` | Set the complete time of this distributed queue transport.
`completeTime` | Use this complete time (in seconds). The time must be non-negative.

## See Also

tibrvcmTransport_GetCompleteTime()

Distributed Queue in TIBCO Rendezvous Concepts

Complete Time in TIBCO Rendezvous Concepts

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.