public class ZookeeperConnection extends Object
Task encapsulating the connection to Zookeeper. There should only be one of these instantiated per engine.
| Constructor and Description |
|---|
ZookeeperConnection(GraknEngineConfig config)
Start the connection to zookeeper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the connection to zookeeper.
|
org.apache.curator.framework.CuratorFramework |
connection()
Get the connection to zookeeper
|
public ZookeeperConnection(GraknEngineConfig config)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.