public abstract class ZookeeperBaseTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static kafka.zk.KafkaZkClient |
kafkaZkClient |
protected static ZookeeperWaiter |
wait |
protected static org.apache.curator.framework.CuratorFramework |
zookeeperClient |
protected static org.apache.curator.test.TestingServer |
zookeeperServer |
| Modifier | Constructor and Description |
|---|---|
protected |
ZookeeperBaseTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
beforeZookeeperClass() |
protected void |
createPath(java.lang.String path) |
protected void |
deleteAllNodes() |
protected void |
deleteData(java.lang.String path) |
protected static org.apache.curator.framework.CuratorFramework |
newClient() |
static void |
tearDown() |
protected static org.apache.curator.test.TestingServer zookeeperServer
protected static org.apache.curator.framework.CuratorFramework zookeeperClient
protected static ZookeeperWaiter wait
protected static kafka.zk.KafkaZkClient kafkaZkClient
public static void beforeZookeeperClass()
throws java.lang.Exception
java.lang.Exceptionprotected static org.apache.curator.framework.CuratorFramework newClient()
public static void tearDown()
throws java.lang.Exception
java.lang.Exceptionprotected void createPath(java.lang.String path)
throws java.lang.Exception
java.lang.Exceptionprotected void deleteData(java.lang.String path)
throws java.lang.Exception
java.lang.Exceptionprotected void deleteAllNodes()
throws java.lang.Exception
java.lang.Exception