public interface LeaderRetrievalDriver
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 close()
.
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the services used for leader retrieval.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.