#include <MemberAttributeEvent.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.
|
| |
| enum | MembershipEventType { MEMBER_ADDED = 1,
MEMBER_REMOVED = 2,
MEMBER_ATTRIBUTE_CHANGED = 5
} |
| | MembershipEventType. More...
|
| |
|
| | MemberAttributeEvent (Cluster &cluster, const Member &member, MemberAttributeOperationType operationType, const std::string &key, const std::string &value) |
| | 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...
|
| |
◆ MemberAttributeEvent()
◆ getKey()
| const std::string & hazelcast::client::MemberAttributeEvent::getKey |
( |
| ) |
const |
- Returns
- key of changed attribute
◆ getOperationType()
enum MemberAttributeOperationType { PUT = 2, REMOVE = 3 };
- Returns
- map operation type put or removed
◆ getValue()
| 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