Package org.apache.pivot.util.concurrent
Interface TaskListener<V>
-
- Type Parameters:
V
- The return type of the task.
- All Known Implementing Classes:
TaskAdapter
,WTKTaskListener
public interface TaskListener<V>
Task listener interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
executeFailed(Task<V> task)
Called when task execution has failed.void
taskExecuted(Task<V> task)
Called when the task has completed successfully.
-