MultiExecutionCallback provides notification for when an execution is completed on each member that a task is submitted to.
More...
#include <MultiExecutionCallback.h>
template<typename V>
class hazelcast::client::MultiExecutionCallback< V >
MultiExecutionCallback provides notification for when an execution is completed on each member that a task is submitted to.
After all executions are completed on all submitted members, the onComplete(std::map) method is called with a map of all results.
- See also
- IExecutorService
-
ExecutionCallback
◆ onComplete()
Called after all executions are completed.
- Parameters
-
values | map of Member-Response pairs where no exception occured. |
exceptions | The exceptions produced by failing members. |
◆ onFailure()
Called when an execution is completed with an exception on a member.
- Parameters
-
member | member that the task is submitted to. |
exception | result of the execution |
◆ onResponse()
Called when an execution is completed on a member.
- Parameters
-
member | member that the task is submitted to. |
value | result of the execution |
The documentation for this class was generated from the following file: