|
JBoss Threads 2.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
R
- the task typeA
- the attachment typepublic interface TaskNotifier<R extends Runnable,A>
A notifier which is called when tasks start, stop, or fail.
Method Summary | |
---|---|
void |
failed(R runnable,
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. |
Method Detail |
---|
void started(R runnable, A attachment)
runnable
- the taskattachment
- the attachmentvoid failed(R runnable, Throwable reason, A attachment)
runnable
- the taskreason
- the reason for the failureattachment
- the attachmentvoid finished(R runnable, A attachment)
runnable
- the taskattachment
- the attachment
|
JBoss Threads 2.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |