Interface SingletonElectionListener
public interface SingletonElectionListener
Listener for singleton election results.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionvoidelected(List<GroupMember> candidateMembers, GroupMember electedMember) Triggered when a singleton election completes, electing the specified member from the specified list of candidates.
-
Method Details
-
elected
Triggered when a singleton election completes, electing the specified member from the specified list of candidates.- Parameters:
candidateMembers- the list of candidate memberselectedMember- the elected primary provider of a singleton service
-