public interface SingletonElectionPolicy
SingletonService
to elect a singleton master node
from the list of nodes providing that service.Modifier and Type | Method and Description |
---|---|
ClusterNode |
elect(List<ClusterNode> nodes)
Elect a single node from the specified list of candidate nodes.
|
ClusterNode elect(List<ClusterNode> nodes)
nodes
- a list of candidate nodes.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.