Interface IDistributedAgent

    • Method Detail

      • onMembersChanged

        void onMembersChanged​(IClusterView view,
                              Set<IAddress> newMembers,
                              Set<IAddress> removedMembers,
                              String clusterId)
        This method is invoked when remote members join or quit our distributed cluster.
        Parameters:
        view - This view responsible for the nofication
        newMembers - the addresses of the new comers
        removedMembers - the addresses of the leavers
        clusterId - the name of the cluster this agent belongs to