18 #include <unordered_map>
22 #include "hazelcast/client/address.h"
23 #include <boost/uuid/uuid.hpp>
26 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
28 #pragma warning(disable : 4251)
36 std::string identifier;
46 struct HAZELCAST_API hash<hazelcast::client::endpoint_qualifier>
48 std::size_t operator()(
80 bool operator==(
const version& rhs)
const;
82 bool operator!=(
const version& rhs)
const;
84 bool operator<(
const version& rhs)
const;
86 bool operator>(
const version& rhs)
const;
88 bool operator<=(
const version& rhs)
const;
90 bool operator>=(
const version& rhs)
const;
92 friend std::ostream HAZELCAST_API &
99 boost::uuids::uuid uuid,
101 std::unordered_map<std::string, std::string> attr,
102 std::unordered_map<endpoint_qualifier, address> address_map,
107 member(boost::uuids::uuid uuid);
109 friend bool HAZELCAST_API operator==(
const member& lhs,
const member& rhs);
116 bool is_lite_member()
const;
123 const address& get_address()
const;
130 boost::uuids::uuid get_uuid()
const;
132 const std::unordered_map<std::string, std::string>& get_attributes()
const;
142 const std::string* get_attribute(
const std::string& key)
const;
153 version get_version()
const;
161 bool lookup_attribute(
const std::string& key)
const;
163 const std::unordered_map<endpoint_qualifier, address>& address_map()
const;
165 bool operator<(
const member& rhs)
const;
169 boost::uuids::uuid uuid_;
171 std::unordered_map<std::string, std::string> attributes_;
172 std::unordered_map<endpoint_qualifier, address> address_map_;
176 std::ostream HAZELCAST_API&
177 operator<<(std::ostream& out,
const member& member);
183 struct HAZELCAST_API hash<hazelcast::client::member>
189 #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...