18 #include <unordered_map>
22 #include "hazelcast/client/address.h"
23 #include <boost/uuid/uuid.hpp>
25 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
27 #pragma warning(disable: 4251)
52 member(
address address, boost::uuids::uuid uuid,
bool lite, std::unordered_map<std::string, std::string> attr);
56 member(boost::uuids::uuid uuid);
61 bool operator==(
const member &)
const;
68 bool is_lite_member()
const;
75 const address &get_address()
const;
82 boost::uuids::uuid get_uuid()
const;
84 const std::unordered_map<std::string, std::string> &get_attributes()
const;
94 const std::string *get_attribute(
const std::string &key)
const;
102 bool lookup_attribute(
const std::string &key)
const;
104 bool operator<(
const member &rhs)
const;
108 boost::uuids::uuid uuid_;
110 std::unordered_map<std::string, std::string> attributes_;
113 std::ostream HAZELCAST_API &operator<<(std::ostream &out,
const member &member);
119 struct HAZELCAST_API hash<hazelcast::client::member> {
124 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Represents an address of a client or member in the cluster.
member_attribute_operation_type
PUT even type representing an addition of an attribute REMOVE event type representing a deletion of a...