| Package | Description |
|---|---|
| io.etcd.jetcd | |
| io.etcd.jetcd.election |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ProclaimResponse> |
Election.proclaim(LeaderKey leaderKey,
ByteSequence proposal)
Proclaim updates the leader's posted value with a new value.
|
CompletableFuture<ResignResponse> |
Election.resign(LeaderKey leaderKey)
Resign releases election leadership so other campaigners may acquire
leadership on the election.
|
| Modifier and Type | Method and Description |
|---|---|
LeaderKey |
CampaignResponse.getLeader()
resources used for holding leadership of the election.
|
Copyright © 2020. All rights reserved.