public interface PrimaryElectionService extends io.atomix.utils.event.ListenerService<PrimaryElectionEvent,PrimaryElectionEventListener>
| Modifier and Type | Method and Description |
|---|---|
PrimaryElection |
getElectionFor(PartitionId partitionId)
Returns the primary election for the given partition identifier.
|
PrimaryElection getElectionFor(PartitionId partitionId)
partitionId - the partition identifier for which to return the primary electionCopyright © 2013–2018. All rights reserved.