Click or drag to resize

IJobMaxTaskInterruptedRetryAttempts Property

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

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

Property Value

Type: Int16
The maximum retry count.
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