Interface ITaskListener<T>
-
- Type Parameters:
T- the type of the listener, which should accept if the operation from the ITask instance is complete
- All Known Implementing Classes:
CompletableTaskListener
public interface ITaskListener<T>A listener for all tasks, that should handle the process- See Also:
ITask
-
-
Field Summary
Fields Modifier and Type Field Description static ITaskListenerFIRE_EXCEPTION_ON_FAILUREDeprecated.useITask.fireExceptionOnFailure()instead
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidonCancelled(ITask<T> task)default voidonComplete(ITask<T> task, T t)default voidonFailure(ITask<T> task, java.lang.Throwable th)
-
-
-
Field Detail
-
FIRE_EXCEPTION_ON_FAILURE
@Deprecated static final ITaskListener FIRE_EXCEPTION_ON_FAILURE
Deprecated.useITask.fireExceptionOnFailure()insteadAn default implementation that prints an error into the System.err stream, if the operation wasn't successful
-
-