public class ZookeeperLocalCluster extends Object implements MiniCluster
| Modifier and Type | Class and Description |
|---|---|
static class |
ZookeeperLocalCluster.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
void |
configure() |
int |
getPort() |
String |
getTempDir() |
String |
getZookeeperConnectionString() |
void |
start() |
void |
stop() |
void |
stop(boolean cleanUp) |
public int getPort()
public String getTempDir()
public String getZookeeperConnectionString()
public void start()
throws Exception
start in interface MiniClusterExceptionpublic void stop()
throws Exception
stop in interface MiniClusterExceptionpublic void stop(boolean cleanUp)
throws Exception
stop in interface MiniClusterExceptionpublic void configure()
throws Exception
configure in interface MiniClusterExceptionpublic void cleanUp()
throws Exception
cleanUp in interface MiniClusterExceptionCopyright © 2015. All Rights Reserved.