Package org.wildfly.clustering.singleton
Interface SingletonElectionPolicy
-
- All Known Implementing Classes:
PreferredSingletonElectionPolicy,RandomSingletonElectionPolicy,SimpleSingletonElectionPolicy
public interface SingletonElectionPolicyUsed by a singleton service to elect the primary node from among the list of nodes that can provide the given service.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Nodeelect(List<Node> nodes)Elect a single node from the specified list of candidate nodes.
-