org.apache.hama
Class MiniZooKeeperCluster

java.lang.Object
  extended by org.apache.hama.MiniZooKeeperCluster

public class MiniZooKeeperCluster
extends java.lang.Object

This class starts and runs the MiniZookeeperCluster.


Constructor Summary
MiniZooKeeperCluster()
          Create mini Zookeeper cluster.
 
Method Summary
 void setClientPort(int clientPort)
           
 void setTickTime(int tickTime)
           
 void shutdown()
           
 int startup(java.io.File baseDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiniZooKeeperCluster

public MiniZooKeeperCluster()
Create mini Zookeeper cluster.

Method Detail

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.