Class MembershipListenerImpl

    • Constructor Detail

      • MembershipListenerImpl

        public MembershipListenerImpl()
    • Method Detail

      • memberAdded

        public void memberAdded​(Member member,
                                boolean isLocalMemberCoordinator)
        Description copied from interface: MembershipListener
        Method which will be called when a member is added
        Specified by:
        memberAdded in interface MembershipListener
        Parameters:
        member - The member which was added
        isLocalMemberCoordinator - true - if the local member is the coordinator
      • memberDisappeared

        public void memberDisappeared​(Member member,
                                      boolean isLocalMemberCoordinator)
        Description copied from interface: MembershipListener
        Method which will be called when a member dissapears
        Specified by:
        memberDisappeared in interface MembershipListener
        Parameters:
        member - The member which disappeared
        isLocalMemberCoordinator - true - if the local member is the coordinator