17 #ifndef HAZELCAST_CLIENT_EXECUTIONCALLBACK_H_ 18 #define HAZELCAST_CLIENT_EXECUTIONCALLBACK_H_ 20 #include <boost/shared_ptr.hpp> 22 #include "hazelcast/util/HazelcastDll.h" 24 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 26 #pragma warning(disable: 4251) //for dll export 50 virtual void onResponse(
const boost::shared_ptr<V> &response) = 0;
56 virtual void onFailure(
const boost::shared_ptr<exception::IException> &e) = 0;
61 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 65 #endif //HAZELCAST_CLIENT_EXECUTIONCALLBACK_H_ virtual void onFailure(const boost::shared_ptr< exception::IException > &e)=0
Called when an execution is completed with an error.
virtual void onResponse(const boost::shared_ptr< V > &response)=0
Called when an execution is completed successfully.
ExecutionCallback allows to asynchronously get notified when the execution is completed, either successfully or with error.
Definition: ExecutionCallback.h:41
PN (Positive-Negative) CRDT counter.
Definition: MapEntryView.h:32