Package org.jppf.client.taskwrapper
Class JPPFTaskCallback<T>
java.lang.Object
org.jppf.client.taskwrapper.JPPFTaskCallback<T>
- Type Parameters:
T- the ytpe of result returned by the task.
- All Implemented Interfaces:
Serializable,Runnable
Instances of this class are intended to be delegates for the
Task.onCancel() and Task.onTimeout() methods
for tasks that do not implement Task.- Author:
- Laurent Cohen
- See Also:
-
Constructor Details
-
JPPFTaskCallback
public JPPFTaskCallback()
-
-
Method Details
-
getTask
Get the task this callback is associated with.- Returns:
- a
Taskinstance.
-