Interface | Description |
---|---|
LeaderRetrievalListener |
Classes which want to be notified about a changing leader by the
LeaderRetrievalService
have to implement this interface. |
LeaderRetrievalService |
This interface has to be implemented by a service which retrieves the current leader and notifies
a listener about it.
|
Class | Description |
---|---|
StandaloneLeaderRetrievalService |
Standalone implementation of the
LeaderRetrievalService . |
ZooKeeperLeaderRetrievalService |
The counterpart to the
ZooKeeperLeaderElectionService . |
Exception | Description |
---|---|
LeaderRetrievalException |
This exception is thrown by the
LeaderRetrievalUtils when
the method retrieveLeaderGateway fails to retrieve the current leader's gateway. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.