public class ZooKeeperUtils extends Object
Constructor and Description |
---|
ZooKeeperUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.curator.framework.CuratorFramework |
startCuratorFramework(Configuration configuration)
Starts a
CuratorFramework instance and connects it to the given ZooKeeper
quorum. |
public static org.apache.curator.framework.CuratorFramework startCuratorFramework(Configuration configuration)
CuratorFramework
instance and connects it to the given ZooKeeper
quorum.configuration
- Configuration
object containing the configuration valuesCuratorFramework
instanceCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.