public class EmbeddedZookeeper
extends java.lang.Object
Constructor and Description |
---|
EmbeddedZookeeper() |
EmbeddedZookeeper(int port) |
EmbeddedZookeeper(int port,
int tickTime) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConnection() |
int |
getPort() |
int |
getTickTime() |
void |
setPort(int port) |
void |
setTickTime(int tickTime) |
void |
shutdown() |
void |
startup() |
java.lang.String |
toString() |
public EmbeddedZookeeper()
public EmbeddedZookeeper(int port)
public EmbeddedZookeeper(int port, int tickTime)
public void startup() throws java.io.IOException
java.io.IOException
public void shutdown()
public java.lang.String getConnection()
public void setPort(int port)
public void setTickTime(int tickTime)
public int getPort()
public int getTickTime()
public java.lang.String toString()
toString
in class java.lang.Object