org.apache.accumulo.test.randomwalk.concurrent
Class ConcurrentFixture

java.lang.Object
  extended by org.apache.accumulo.test.randomwalk.Fixture
      extended by org.apache.accumulo.test.randomwalk.concurrent.ConcurrentFixture

public class ConcurrentFixture
extends Fixture

When multiple instance of this test suite are run, all instances will operate on the same set of table names.


Field Summary
 
Fields inherited from class org.apache.accumulo.test.randomwalk.Fixture
log
 
Constructor Summary
ConcurrentFixture()
           
 
Method Summary
static List<org.apache.hadoop.io.Text> generateRange(Random rand)
           
 void setUp(State state)
           
 void tearDown(State state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentFixture

public ConcurrentFixture()
Method Detail

setUp

public void setUp(State state)
           throws Exception
Specified by:
setUp in class Fixture
Throws:
Exception

tearDown

public void tearDown(State state)
              throws Exception
Specified by:
tearDown in class Fixture
Throws:
Exception

generateRange

public static List<org.apache.hadoop.io.Text> generateRange(Random rand)
Parameters:
rand - A Random to use
Returns:
A two element list with first being smaller than the second, but either value (or both) can be null


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.