Click or drag to resize

JobMaxTaskInterruptedRetryAttempts Property

Gets or sets the maximum number of times a task will be retried if it is interrupted.

Namespace:  AGI.Parallel.Client
Assembly:  AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 2.9.0.1601 (2.9.0.1601)
Syntax
public short MaxTaskInterruptedRetryAttempts { get; set; }

Property Value

Type: Int16
The maximum retry count.

Implements

IJobMaxTaskInterruptedRetryAttempts
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionValue must be equal or greater than 0
Remarks
A system error, such as a host process exiting abnormally or an agent disconnecting from the coordinator while the agent "owns" a task, may occur during the execution of a task. Normally, these errors are recoverable; if the task was retried again the task may succeed. As such, the system will try to reassign the task for execution for as many times as MaxTaskInterruptedRetryAttempts is specified.

Setting the maximum task interrupted retry attempts to 0 means that the task will never be retried if there is a system exception while executing the task.

See Also

STK Parallel Computing Server 2.9 API for .NET