ClusterJobSchedulerWaitUntilDone Method

Blocks until all tasks in this job complete or the operation times out. The callback passed in for the heartbeat is called with the period specified by the millisecondsHeartbeat argument.
Namespace:  AGI.Parallel.Client
Assembly:  AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 1.3.0.366 (1.3.0.366)
Syntax
public bool WaitUntilDone(
        Guid jobId,
        int millisecondsTimeout,
        Action heartbeatCallback,
        int millisecondsHeartbeat
)

Parameters

jobId
Type: SystemGuid
The job id for the job to be submitted.
millisecondsTimeout
Type: SystemInt32
The timeout (in milliseconds).
heartbeatCallback
Type: SystemAction
The heartbeat callback.
millisecondsHeartbeat
Type: SystemInt32
The heartbeat period (in milliseconds).

Return Value

Type: Boolean
true if job completed, false if timed-out.

Implements

IJobSchedulerWaitUntilDone(Guid, Int32, Action, Int32)
Exceptions
Exception Condition
JobSchedulerException Thrown if client disconnects from the job scheduler.
See Also

STK Scalability 1.3 API for .NET