public class LeaderCallbacks extends Object
Constructor and Description |
---|
LeaderCallbacks(Runnable onStartLeading,
Runnable onStopLeading,
Consumer<String> onNewLeader) |
Modifier and Type | Method and Description |
---|---|
void |
onNewLeader(String id) |
void |
onStartLeading() |
void |
onStopLeading() |
Copyright © 2015–2020 Red Hat. All rights reserved.