Click or drag to resize

MembershipEvent Class

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.12.2
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 the default hash function.
(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
Remarks
Membership event fired when a new member is added to the cluster and/or when a member leaves the cluster.
See Also