org.apache.accumulo.test.randomwalk.concurrent
Class ConcurrentFixture
java.lang.Object
org.apache.accumulo.test.randomwalk.Fixture
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.
Fields inherited from class org.apache.accumulo.test.randomwalk.Fixture |
log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrentFixture
public ConcurrentFixture()
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.