public class DefaultWinnerStrategy extends Object implements WinnerStrategy
| Constructor and Description |
|---|
DefaultWinnerStrategy(ClusterContext electionContext) |
| Modifier and Type | Method and Description |
|---|---|
InstanceId |
pickWinner(Collection<Vote> votes) |
public DefaultWinnerStrategy(ClusterContext electionContext)
public InstanceId pickWinner(Collection<Vote> votes)
pickWinner in interface WinnerStrategyCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.