21 #ifndef HAZELCAST_MEMBER 22 #define HAZELCAST_MEMBER 27 #include "hazelcast/client/Address.h" 29 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 31 #pragma warning(disable: 4251) //for dll export 56 Member(
const Address &address,
const std::string &uuid,
bool lite,
57 const std::map<std::string, std::string> &attr);
61 Member(
const std::string &uuid);
66 bool operator==(
const Member &)
const;
73 bool isLiteMember()
const;
80 const Address &getAddress()
const;
87 const std::string &getUuid()
const;
89 const std::map<std::string, std::string> &getAttributes()
const;
99 const std::string *getAttribute(
const std::string &key)
const;
107 bool lookupAttribute(
const std::string &key)
const;
109 bool operator<(
const Member &rhs)
const;
111 void updateAttribute(MemberAttributeOperationType operationType,
const std::string &key,
112 std::auto_ptr<std::string> &value);
118 std::map<std::string, std::string> attributes;
121 std::ostream HAZELCAST_API &operator<<(std::ostream &out,
const Member &member);
125 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 130 #endif //HAZELCAST_MEMBER IP Address.
Definition: Address.h:41
Cluster member class.
Definition: Member.h:43
MemberAttributeOperationType
PUT even type representing an addition of an attribute REMOVE event type representing a deletion of a...
Definition: Member.h:49
Definition: MapEntryView.h:32