19#include <boost/optional.hpp>
21#include "hazelcast/util/export.h"
23#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
25#pragma warning(disable : 4251)
50 virtual void on_response(
const boost::optional<V>& response) = 0;
61#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Base class for all exception originated from Hazelcast methods.
execution_callback allows to asynchronously get notified when the execution is completed,...
virtual void on_failure(std::exception_ptr e)=0
Called when an execution is completed with an error.
virtual void on_response(const boost::optional< V > &response)=0
Called when an execution is completed successfully.