public class LeaderElection extends WorkingScenario
| Modifier and Type | Class and Description |
|---|---|
static class |
LeaderElection.Builder |
static interface |
LeaderElection.Observer |
WorkingScenario.SettingscurrentCoordinationSession, isWorking, settings| Modifier and Type | Method and Description |
|---|---|
long |
epochLeader() |
static LeaderElection.Builder |
newBuilder(CoordinationClient client,
String ticket,
LeaderElection.Observer observer) |
start, stop, tryStartpublic static LeaderElection.Builder newBuilder(CoordinationClient client, String ticket, LeaderElection.Observer observer)
public long epochLeader()
Copyright © 2023. All rights reserved.