org.apache.hama
Class MiniZooKeeperCluster
java.lang.Object
org.apache.hama.MiniZooKeeperCluster
public class MiniZooKeeperCluster
- extends java.lang.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(java.io.File baseDir)
throws java.io.IOException,
java.lang.InterruptedException
- Parameters:
baseDir
-
- Returns:
- ClientPort server bound to.
- Throws:
java.io.IOException
java.lang.InterruptedException
shutdown
public void shutdown()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.