19 #ifndef HAZElCAST_CLUSTER 20 #define HAZElCAST_CLUSTER 23 #include <boost/shared_ptr.hpp> 25 #include "hazelcast/client/Member.h" 30 class ClientClusterService;
33 class MembershipListener;
35 class InitialMembershipListener;
45 Cluster(spi::ClientClusterService &clusterService);
78 std::string addMembershipListener(
const boost::shared_ptr<MembershipListener> &listener);
112 std::string addMembershipListener(
const boost::shared_ptr<InitialMembershipListener> &listener);
136 bool removeMembershipListener(
const std::string ®istrationId);
146 std::vector<Member> getMembers();
149 spi::ClientClusterService &clusterService;
154 #endif //HAZElCAST_CLUSTER Cluster membership listener.
Definition: MembershipListener.h:64
Hazelcast cluster interface.
Definition: Cluster.h:40
The InitializingMembershipListener is a MembershipListener that will first receives a InitialMembersh...
Definition: InitialMembershipListener.h:57
PN (Positive-Negative) CRDT counter.
Definition: MapEntryView.h:32