Cluster member class.
More...
#include <Member.h>
|
enum | MemberAttributeOperationType { PUT = 1,
REMOVE = 2
} |
| PUT even type representing an addition of an attribute REMOVE event type representing a deletion of an attribute.
|
|
|
| Member (const Address &address, const std::string &uuid, bool lite, const std::map< std::string, std::string > &attr) |
|
bool | operator== (const Member &) const |
| comparison operation
|
|
bool | isLiteMember () const |
| Lite member is does not hold data. More...
|
|
const Address & | getAddress () const |
| Returns the socket address of this member. More...
|
|
const std::string & | getUuid () const |
| Returns UUID of this member. More...
|
|
const std::map< std::string,
std::string > & | getAttributes () const |
|
const std::string * | getAttribute (const std::string &key) const |
| Returns the value of the specified key for this member or default constructed value if value is undefined. More...
|
|
bool | lookupAttribute (const std::string &key) const |
| check if an attribute is defined for given key. More...
|
|
|
class | connection::ClusterListenerThread |
|
Cluster member class.
The default implementation
- See Also
- Cluster
-
MembershipListener
const Address& hazelcast::client::Member::getAddress |
( |
| ) |
const |
Returns the socket address of this member.
- Returns
- socket address of this member
const std::string* hazelcast::client::Member::getAttribute |
( |
const std::string & |
key | ) |
const |
Returns the value of the specified key for this member or default constructed value if value is undefined.
- Template Parameters
-
AttributeType | type template for attribute type |
- Parameters
-
- Returns
- The value for this members key.
const std::string& hazelcast::client::Member::getUuid |
( |
| ) |
const |
Returns UUID of this member.
- Returns
- UUID of this member.
bool hazelcast::client::Member::isLiteMember |
( |
| ) |
const |
Lite member is does not hold data.
- Returns
- true if member is lite.
bool hazelcast::client::Member::lookupAttribute |
( |
const std::string & |
key | ) |
const |
check if an attribute is defined for given key.
- Template Parameters
-
- Returns
- true if attribute is defined.
The documentation for this class was generated from the following file:
- hazelcast/include/hazelcast/client/Member.h