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