MembershipEvent ClassHazelcast .Net Client Class Library
Membership event fired when a new member is added to the cluster and/or when a member leaves the cluster.
Inheritance Hierarchy

SystemObject
  Hazelcast.CoreEventObject
    Hazelcast.CoreMembershipEvent
      Hazelcast.CoreMemberAttributeEvent

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
Syntax

[SerializableAttribute]
public class MembershipEvent : EventObject

The MembershipEvent type exposes the following members.

Constructors

  NameDescription
Public methodMembershipEvent
Initializes a new instance of the MembershipEvent class
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetCluster
Returns the cluster of the event.
Public methodGetEventType
Returns the membership event type; #MEMBER_ADDED or #MEMBER_REMOVED
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMember
Returns the removed or added member.
Public methodGetMembers
Returns a consistent view of the the members exactly after this MembershipEvent has been processed.
Public methodGetSource
The object on which the Event initially occurred.
(Inherited from EventObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldStatic memberMemberAdded
Public fieldStatic memberMemberAttributeChanged
Public fieldStatic memberMemberRemoved
Top
Remarks

Membership event fired when a new member is added to the cluster and/or when a member leaves the cluster.
See Also

Reference