/**
  * memberDisappeared gets invoked by the interceptor below the channel and the channel will
  * broadcast it to the membership listeners
  *
  * @param member Member - the member that left or crashed
  */
 @Override
 public void memberDisappeared(Member member) {
   // notify upwards
   for (int i = 0; i < membershipListeners.size(); i++) {
     MembershipListener membershipListener = (MembershipListener) membershipListeners.get(i);
     if (membershipListener != null) membershipListener.memberDisappeared(member);
   }
 }
示例#2
0
 /**
  * Callback from the impl when a new member has been received
  *
  * @param member The member
  */
 @Override
 public void memberDisappeared(Member member) {
   if (listener != null) listener.memberDisappeared(member);
 }