Interface ITrackableTask
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Obsolete("This feature is not in active development and may be removed in a future update.")]
public interface ITrackableTask
Properties
Name | Description |
---|---|
Task |
Unique GUID identification of MapReduce task. |
Task |
Gets the task�s status and contains following values: Waiting, InProgress, Completed, Cancelled, Failed. |
Methods
Name | Description |
---|---|
Cancel |
Cancels the already running task. |
Get |
This is a blocking call that waits for the callback from the server about the task�s completion, failure or cancellation in the form of an ITaskResult. |
Get |
If no result is obtained within the provided timeout, OperationFailedException will be thrown. |
Events
Name | Description |
---|---|
On |
Users can register a callback on the MapReduce task that is called when task execution is completed, failed or cancelled with a parameter response that encapsulates status of the task and result (if completed). |