R
- the task typeA
- the attachment typepublic interface TaskNotifier<R extends Runnable,A>
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 attachmentCopyright © 2012 JBoss by Red Hat. All Rights Reserved.