|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiExecutionCallback
MultiExecutionCallback allows to get notified when an execution is completed on each member
which task is submitted to. After all executions are completed on all submitted members,
onComplete(java.util.Map)
method is called with map of all results.
IExecutorService
,
ExecutionCallback
Method Summary | |
---|---|
void |
onComplete(Map<Member,Object> values)
Called after all executions are completed. |
void |
onResponse(Member member,
Object value)
Called when an execution is completed on a member. |
Method Detail |
---|
void onResponse(Member member, Object value)
member
- member which task is submitted to.value
- result of executionvoid onComplete(Map<Member,Object> values)
values
- map of Member-Response pairs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |