#include <MemberAttributeEvent.h>
|
| MemberAttributeEvent (Cluster &cluster, const Member &member, MemberAttributeOperationType operationType, const std::string &key, std::string &value, const std::vector< Member > &memberList) |
| InternalAPI. More...
|
|
MemberAttributeOperationType | getOperationType () const |
| enum MemberAttributeOperationType { PUT = 2, REMOVE = 3 }; More...
|
|
const std::string & | getKey () const |
|
const std::string & | getValue () const |
| Returns null if => given type T is not compatible with available type, or => MemberAttributeOperationType is remove(REMOVE). More...
|
|
| MembershipEvent (Cluster &cluster, const Member &member, MembershipEventType eventType, const std::vector< Member > &membersList) |
| Internal API. More...
|
|
virtual | ~MembershipEvent () |
| Destructor.
|
|
virtual const std::vector< Member > | getMembers () const |
| Returns a consistent view of the the members exactly after this MembershipEvent has been processed. More...
|
|
virtual const Cluster & | getCluster () const |
| Returns the cluster of the event. More...
|
|
virtual MembershipEventType | getEventType () const |
| Returns the membership event type; MembershipEvent::MEMBER_ADDED , MembershipEvent::MEMBER_REMOVED and MembershipEvent::MEMBER_ATTRIBUTE_CHANGED. More...
|
|
virtual const Member & | getMember () const |
| Returns the removed or added member. More...
|
|
const std::string & hazelcast::client::MemberAttributeEvent::getKey |
( |
| ) |
const |
- Returns
- key of changed attribute
enum MemberAttributeOperationType { PUT = 2, REMOVE = 3 };
- Returns
- map operation type put or removed
const std::string & hazelcast::client::MemberAttributeEvent::getValue |
( |
| ) |
const |
Returns null if => given type T is not compatible with available type, or => MemberAttributeOperationType is remove(REMOVE).
- Returns
- value of changed attribute.
The documentation for this class was generated from the following files:
- hazelcast/include/hazelcast/client/MemberAttributeEvent.h
- hazelcast/src/hazelcast/client/MemberAttributeEvent.cpp