public interface ClusterLeaderService
Modifier and Type | Method and Description |
---|---|
boolean |
isLeader()
Whether or not this node is the current cluster leader.
|
boolean |
isRunning()
Whether or not this node is participating in the cluster leader election.
|
void |
start()
Start the service (i.e.
|
void |
stop()
Stop the service (i.e.
|
void stop()
void start()
boolean isRunning()
boolean isLeader()