Interface SingletonElectionListener


  • public interface SingletonElectionListener
    Listener for singleton election results.
    Author:
    Paul Ferraro
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void elected​(List<Node> candidateMembers, Node electedMember)
      Triggered when a singleton election completes, electing the specified member from the specified list of candidates.
    • Method Detail

      • elected

        void elected​(List<Node> candidateMembers,
                     Node electedMember)
        Triggered when a singleton election completes, electing the specified member from the specified list of candidates.
        Parameters:
        candidateMembers - the list of candidate members
        electedMember - the elected primary provider of a singleton service