Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
AbstractPriorityTask..::.ExecutionTimeoutMillis Property
AbstractPriorityTask Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
The maximum amount of time this task is allowed to run before the corresponding service will attempt to stop it.

Namespace: Tangosol.Net
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

# Syntax

C#
    public virtual long ExecutionTimeoutMillis { get; set; }

#### Field Value

The execution timeout value in millisecods or one of the special PriorityTaskTimeout values.

#### Implements

IPriorityTask..::.ExecutionTimeoutMillis

# Remarks

The value of Default indicates a default timeout value configured for the corresponding service; the value of None indicates that this task can execute indefinitely.

If, by the time the specified amount of time passed, the task has not finished, the service will attempt to stop the execution by using the Thread.Interrupt() method. In the case that interrupting the thread does not result in the task's termination, the RunCanceled(Boolean) method will be called.

# See Also

AbstractPriorityTask Class
Tangosol.Net Namespace