| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultLeaderElectionService |
ZooKeeperUtils.createLeaderElectionService(org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework client)
Creates a
DefaultLeaderElectionService instance with ZooKeeperLeaderElectionDriver. |
static DefaultLeaderElectionService |
ZooKeeperUtils.createLeaderElectionService(org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework client,
String path)
Creates a
DefaultLeaderElectionService instance with ZooKeeperLeaderElectionDriver. |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.