public class TestSyncTimeRangeTracker extends TestSimpleTimeRangeTracker
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestSyncTimeRangeTracker.RandomTestData |
(package private) static class |
TestSyncTimeRangeTracker.TrtUpdateRunnable |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static int |
NUM_KEYS |
private static int |
NUM_OF_THREADS |
Constructor and Description |
---|
TestSyncTimeRangeTracker() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.regionserver.TimeRangeTracker |
getTimeRangeTracker() |
protected org.apache.hadoop.hbase.regionserver.TimeRangeTracker |
getTimeRangeTracker(long min,
long max) |
void |
testArriveAtRightAnswer()
Run a bunch of threads against a single TimeRangeTracker and ensure we arrive
at right range.
|
void |
testConcurrentIncludeTimestampCorrectness()
Run a bunch of threads against a single TimeRangeTracker and ensure we arrive
at right range.
|
testAlwaysDecrementingSetsMaximum, testExtreme, testLegacySerialization, testRangeConstruction, testSerialization, testSimpleInRange, testTimeRangeInitialized, testTimeRangeTrackerNullIsSameAsTimeRangeNull
public static final HBaseClassTestRule CLASS_RULE
private static final int NUM_KEYS
private static final int NUM_OF_THREADS
public TestSyncTimeRangeTracker()
protected org.apache.hadoop.hbase.regionserver.TimeRangeTracker getTimeRangeTracker()
getTimeRangeTracker
in class TestSimpleTimeRangeTracker
protected org.apache.hadoop.hbase.regionserver.TimeRangeTracker getTimeRangeTracker(long min, long max)
getTimeRangeTracker
in class TestSimpleTimeRangeTracker
public void testArriveAtRightAnswer() throws InterruptedException
InterruptedException
public void testConcurrentIncludeTimestampCorrectness()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.