R - the task typeA - the attachment typepublic interface TaskNotifier<R extends java.lang.Runnable,A>
| Modifier and Type | Method and Description |
|---|---|
void |
failed(R runnable,
java.lang.Throwable reason,
A attachment)
A task has failed.
|
void |
finished(R runnable,
A attachment)
A task has completed.
|
void |
started(R runnable,
A attachment)
A task was started.
|
void started(R runnable, A attachment)
runnable - the taskattachment - the attachmentvoid failed(R runnable, java.lang.Throwable reason, A attachment)
runnable - the taskreason - the reason for the failureattachment - the attachment