org.apache.hama
Class MiniZooKeeperCluster
java.lang.Object
org.apache.hama.MiniZooKeeperCluster
public class MiniZooKeeperCluster
- extends Object
This class starts and runs the MiniZookeeperCluster.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiniZooKeeperCluster
public MiniZooKeeperCluster()
- Create mini Zookeeper cluster.
setClientPort
public void setClientPort(int clientPort)
setTickTime
public void setTickTime(int tickTime)
startup
public int startup(File baseDir)
throws IOException,
InterruptedException
- Parameters:
baseDir
-
- Returns:
- ClientPort server bound to.
- Throws:
IOException
InterruptedException
shutdown
public void shutdown()
throws IOException
- Throws:
IOException
Copyright © 2011 The Apache Software Foundation