com.hazelcast.core
Interface MembershipListener

All Superinterfaces:
EventListener

public interface MembershipListener
extends EventListener

Cluster membership listener.


Method Summary
 void memberAdded(MembershipEvent membershipEvent)
          Invoked when a new member is added to the cluster.
 void memberRemoved(MembershipEvent membershipEvent)
          Invoked when an existing member leaves the cluster.
 

Method Detail

memberAdded

void memberAdded(MembershipEvent membershipEvent)
Invoked when a new member is added to the cluster.

Parameters:
membershipEvent - membership event

memberRemoved

void memberRemoved(MembershipEvent membershipEvent)
Invoked when an existing member leaves the cluster.

Parameters:
membershipEvent - membership event


Copyright 2008-2012 Hazel Ltd. All Rights Reserved.