Package | Description |
---|---|
org.apache.flink.runtime.util |
Modifier and Type | Method and Description |
---|---|
static ZooKeeperLeaderElectionService |
ZooKeeperUtils.createLeaderElectionService(Configuration configuration)
Creates a
ZooKeeperLeaderElectionService instance and a new CuratorFramework client. |
static ZooKeeperLeaderElectionService |
ZooKeeperUtils.createLeaderElectionService(org.apache.curator.framework.CuratorFramework client,
Configuration configuration)
Creates a
ZooKeeperLeaderElectionService instance. |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.