| Package | Description |
|---|---|
| org.apache.flink.runtime.leaderretrieval |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultLeaderRetrievalService
The counterpart to the
DefaultLeaderElectionService. |
| Modifier and Type | Method and Description |
|---|---|
LeaderRetrievalDriver |
LeaderRetrievalDriverFactory.createLeaderRetrievalDriver(LeaderRetrievalEventHandler leaderEventHandler,
org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler)
Create a specific
LeaderRetrievalDriver and start the necessary services. |
ZooKeeperLeaderRetrievalDriver |
ZooKeeperLeaderRetrievalDriverFactory.createLeaderRetrievalDriver(LeaderRetrievalEventHandler leaderEventHandler,
org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler) |
| Constructor and Description |
|---|
ZooKeeperLeaderRetrievalDriver(org.apache.flink.shaded.curator4.org.apache.curator.framework.CuratorFramework client,
String path,
LeaderRetrievalEventHandler leaderRetrievalEventHandler,
ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy leaderInformationClearancePolicy,
org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler)
Creates a leader retrieval service which uses ZooKeeper to retrieve the leader information.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.