TibrvCmQueueTransport.setCompleteTime()

Method

Declaration

void setCompleteTime(
    double   completeTime)
  throws TibrvException

Purpose

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

Remarks

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 method.

Parameter

Description

completeTime

Use this complete time (in seconds). The time must be non-negative.

See Also

Distributed Queue, in TIBCO Rendezvous Concepts

TibrvCmQueueTransport.getCompleteTime()