Membership event fired when a new member is added
to the cluster and/or when a member leaves the cluster.
Inheritance Hierarchy
Hazelcast.CoreEventObject
Hazelcast.CoreMembershipEvent
Hazelcast.CoreMemberAttributeEvent
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.6.2.0
Syntax
The MembershipEvent type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| MembershipEvent | Initializes a new instance of the MembershipEvent class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| GetCluster | Returns the cluster of the event. | |
| GetEventType | Returns the membership event type; #MEMBER_ADDED or #MEMBER_REMOVED | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetMember | Returns the removed or added member. | |
| GetMembers | Returns a consistent view of the the members exactly after this MembershipEvent has been processed. | |
| GetSource |
The object on which the Event initially occurred.
(Inherited from EventObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | (Overrides ObjectToString.) |
Fields
| Name | Description | |
|---|---|---|
| MemberAdded | ||
| MemberAttributeChanged | ||
| MemberRemoved |
Remarks
See Also