|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- valuepublic interface ExecutionCallback<V>
ExecutionCallback allows to asynchronously get notified when the execution is completed, either successfully or with error.
IExecutorService.submit(java.util.concurrent.Callable, ExecutionCallback)
,
IExecutorService.submitToMember(java.util.concurrent.Callable, Member, ExecutionCallback)
,
IExecutorService.submitToKeyOwner(java.util.concurrent.Callable, Object, ExecutionCallback)
Method Summary | |
---|---|
void |
onFailure(Throwable t)
Called when an execution is completed with an error. |
void |
onResponse(V response)
Called when an execution is completed successfully. |
Method Detail |
---|
void onResponse(V response)
response
- the result of the successful executionvoid onFailure(Throwable t)
t
- the exception that is thrown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |