public interface LeaderElectionObserver
| Modifier and Type | Method and Description |
|---|---|
String |
getLeader()
Gets the name of the candidate that is currently the leader
|
String getLeader() throws InterruptedException, org.apache.zookeeper.KeeperException
InterruptedExceptionorg.apache.zookeeper.KeeperExceptionCopyright © 2012–2015 Facebook, Inc.. All rights reserved.