| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.highavailability.zookeeper | |
| org.apache.flink.runtime.util |
| 构造器和说明 |
|---|
AbstractZooKeeperHaServices(CuratorFrameworkWithUnhandledErrorListener curatorFrameworkWrapper,
Executor executor,
org.apache.flink.configuration.Configuration configuration,
BlobStoreService blobStoreService) |
ZooKeeperClientHAServices(CuratorFrameworkWithUnhandledErrorListener curatorFrameworkWrapper,
org.apache.flink.configuration.Configuration configuration) |
ZooKeeperMultipleComponentLeaderElectionHaServices(CuratorFrameworkWithUnhandledErrorListener curatorFrameworkWrapper,
org.apache.flink.configuration.Configuration config,
Executor ioExecutor,
BlobStoreService blobStoreService,
org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
static CuratorFrameworkWithUnhandledErrorListener |
ZooKeeperUtils.startCuratorFramework(org.apache.flink.configuration.Configuration configuration,
org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler)
Starts a
CuratorFramework instance and connects it to the given ZooKeeper quorum. |
static CuratorFrameworkWithUnhandledErrorListener |
ZooKeeperUtils.startCuratorFramework(org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFrameworkFactory.Builder builder,
org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler)
Starts a
CuratorFramework instance and connects it to the given ZooKeeper quorum from
a builder. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.