execution_callback allows to asynchronously get notified when the execution is completed, either successfully or with error.
More...
#include <execution_callback.h>
|
virtual void | on_response (const boost::optional< V > &response)=0 |
| Called when an execution is completed successfully. More...
|
|
virtual void | on_failure (std::exception_ptr e)=0 |
| Called when an execution is completed with an error. More...
|
|
template<typename V>
class hazelcast::client::execution_callback< V >
execution_callback allows to asynchronously get notified when the execution is completed, either successfully or with error.
- Parameters
-
Definition at line 40 of file execution_callback.h.
◆ on_failure()
Called when an execution is completed with an error.
- Parameters
-
e | the exception that is thrown |
◆ on_response()
Called when an execution is completed successfully.
- Parameters
-
response | the result of the successful execution |
The documentation for this class was generated from the following file: