Interface SingletonElectionListener


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

    Modifier and Type
    Method
    Description
    void
    elected(List<org.wildfly.clustering.server.GroupMember> candidateMembers, org.wildfly.clustering.server.GroupMember electedMember)
    Triggered when a singleton election completes, electing the specified member from the specified list of candidates.
  • Method Details

    • elected

      void elected(List<org.wildfly.clustering.server.GroupMember> candidateMembers, org.wildfly.clustering.server.GroupMember 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