com.hazelcast.spi
Class MembershipServiceEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.hazelcast.core.MembershipEvent
          extended by com.hazelcast.spi.MembershipServiceEvent
All Implemented Interfaces:
Serializable

public class MembershipServiceEvent
extends MembershipEvent

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

See Also:
MembershipAwareService, Serialized Form

Field Summary
 
Fields inherited from class com.hazelcast.core.MembershipEvent
MEMBER_ADDED, MEMBER_ATTRIBUTE_CHANGED, MEMBER_REMOVED
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MembershipServiceEvent(MembershipEvent e)
           
 
Method Summary
 MemberImpl getMember()
          Returns the removed or added member.
 
Methods inherited from class com.hazelcast.core.MembershipEvent
getCluster, getEventType, getMembers, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MembershipServiceEvent

public MembershipServiceEvent(MembershipEvent e)
Method Detail

getMember

public MemberImpl getMember()
Returns the removed or added member.

Overrides:
getMember in class MembershipEvent
Returns:
member which is removed/added


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.