Package | Description |
---|---|
org.apache.curator.framework.recipes.leader |
Modifier and Type | Method and Description |
---|---|
Participant |
LeaderSelector.getLeader()
Return the id for the current leader.
|
Participant |
LeaderLatch.getLeader()
Return the id for the current leader.
|
Modifier and Type | Method and Description |
---|---|
Collection<Participant> |
LeaderSelector.getParticipants()
Returns the set of current participants in the leader selection
|
Collection<Participant> |
LeaderLatch.getParticipants()
Returns the set of current participants in the leader selection
|
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.