17 #ifndef HAZELCAST_CLIENT_MULTIEXECUTIONCALLBACK_H_ 18 #define HAZELCAST_CLIENT_MULTIEXECUTIONCALLBACK_H_ 21 #include <boost/shared_ptr.hpp> 23 #include "hazelcast/util/HazelcastDll.h" 24 #include "hazelcast/client/Member.h" 26 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 28 #pragma warning(disable: 4251) //for dll export 52 virtual void onResponse(
const Member &member,
const boost::shared_ptr<V> &response) = 0;
60 virtual void onFailure(
const Member &member,
const boost::shared_ptr<exception::IException> &exception) = 0;
68 virtual void onComplete(
const std::map<
Member, boost::shared_ptr<V> > &values,
69 const std::map<
Member, boost::shared_ptr<exception::IException> > &exceptions) = 0;
74 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 78 #endif //HAZELCAST_CLIENT_MULTIEXECUTIONCALLBACK_H_ virtual void onFailure(const Member &member, const boost::shared_ptr< exception::IException > &exception)=0
Called when an execution is completed with an exception on a member.
virtual void onComplete(const std::map< Member, boost::shared_ptr< V > > &values, const std::map< Member, boost::shared_ptr< exception::IException > > &exceptions)=0
Called after all executions are completed.
MultiExecutionCallback provides notification for when an execution is completed on each member that a...
Definition: MultiExecutionCallback.h:42
virtual void onResponse(const Member &member, const boost::shared_ptr< V > &response)=0
Called when an execution is completed on a member.
Cluster member class.
Definition: Member.h:43
PN (Positive-Negative) CRDT counter.
Definition: MapEntryView.h:32