17 #ifndef HAZELCAST_CLIENT_CLUSTER_MEMBERSELECTOR_MEMBERSELECTORS_H_ 18 #define HAZELCAST_CLIENT_CLUSTER_MEMBERSELECTOR_MEMBERSELECTORS_H_ 28 namespace memberselector {
58 virtual void toString(std::ostream &os)
const = 0;
60 friend std::ostream &operator<<(std::ostream &os,
const MemberSelector &aSelector) {
61 aSelector.toString(os);
72 virtual bool select(
const Member &member)
const;
75 virtual void toString(std::ostream &os)
const;
78 static const std::auto_ptr<MemberSelector> DATA_MEMBER_SELECTOR;
86 #endif //HAZELCAST_CLIENT_CLUSTER_MEMBERSELECTOR_MEMBERSELECTORS_H_ Definition: MemberSelectors.h:71
A utility class to get MemberSelector instances.
Definition: MemberSelectors.h:69
Definition: MemberSelectors.h:46
Cluster member class.
Definition: Member.h:43
virtual bool select(const Member &member) const =0
Decides if the given member will be part of an operation or not.
PN (Positive-Negative) CRDT counter.
Definition: MapEntryView.h:32