org.apache.accumulo.test.randomwalk
Class Framework

java.lang.Object
  extended by org.apache.accumulo.test.randomwalk.Framework

public class Framework
extends Object


Constructor Summary
Framework()
           
 
Method Summary
 String getConfigDir()
           
static Framework getInstance()
           
 Node getNode(String id)
          Creates node (if it does not already exist) and inserts into map
static void main(String[] args)
           
 int run(String startName, State state, String confDir)
          Run random walk framework
 void setConfigDir(String confDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Framework

public Framework()
Method Detail

getInstance

public static Framework getInstance()
Returns:
Singleton instance of Framework

getConfigDir

public String getConfigDir()

setConfigDir

public void setConfigDir(String confDir)

run

public int run(String startName,
               State state,
               String confDir)
Run random walk framework

Parameters:
startName - Full name of starting graph or test
state -
confDir -

getNode

public Node getNode(String id)
             throws Exception
Creates node (if it does not already exist) and inserts into map

Parameters:
id - Name of node
Returns:
Node specified by id
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.