| Package | Description |
|---|---|
| org.apache.flink.runtime.leaderretrieval |
| Modifier and Type | Method and Description |
|---|---|
static ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy |
ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy[] |
ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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.
|
ZooKeeperLeaderRetrievalDriverFactory(org.apache.flink.shaded.curator4.org.apache.curator.framework.CuratorFramework client,
String retrievalPath,
ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy leaderInformationClearancePolicy) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.