public class EmbeddedZookeeper
extends java.lang.Object
Constructor and Description |
---|
EmbeddedZookeeper(java.lang.String connectString) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConnectString() |
java.io.File |
getLogDir() |
int |
getPort() |
java.io.File |
getSnapshotDir() |
int |
getTickTime() |
org.apache.zookeeper.server.ZooKeeperServer |
getZookeeper() |
void |
shutdown() |
public EmbeddedZookeeper(java.lang.String connectString) throws java.lang.Exception
java.lang.Exception
public java.lang.String getConnectString()
public java.io.File getSnapshotDir()
public java.io.File getLogDir()
public int getTickTime()
public org.apache.zookeeper.server.ZooKeeperServer getZookeeper()
public int getPort()
public void shutdown()