Interface LeaderRetrievalDriver

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
ZooKeeperLeaderRetrievalDriver

public interface LeaderRetrievalDriver extends AutoCloseable
A LeaderRetrievalDriver is responsible for retrieves the current leader which has been elected by the LeaderElectionDriver.

Important: The LeaderRetrievalDriver could not guarantee that there is no LeaderRetrievalEventHandler callbacks happen after AutoCloseable.close().