org.apache.accumulo.server.test.randomwalk
Class Framework
java.lang.Object
org.apache.accumulo.server.test.randomwalk.Framework
public class Framework
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Framework
public Framework()
getInstance
public static Framework getInstance()
- Returns:
- Singleton instance of Framework
getConfigDir
public static String getConfigDir()
setConfigDir
public static 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 teststate
- 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 © 2012 The Apache Software Foundation. All Rights Reserved.