public class TestWALRecordReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
protected MultiVersionConcurrencyControl |
mvcc |
protected static java.util.NavigableMap<byte[],java.lang.Integer> |
scopes |
Constructor and Description |
---|
TestWALRecordReader() |
Modifier and Type | Method and Description |
---|---|
protected WALKeyImpl |
getWalKeyImpl(long time,
java.util.NavigableMap<byte[],java.lang.Integer> scopes) |
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testPartialRead()
Test partial reads from the log based on passed time range
|
void |
testWALRecordReader()
Test basic functionality
|
void |
testWALRecordReaderActiveArchiveTolerance()
Test WALRecordReader tolerance to moving WAL from active
to archive directory
|
public static final HBaseClassTestRule CLASS_RULE
protected MultiVersionConcurrencyControl mvcc
protected static java.util.NavigableMap<byte[],java.lang.Integer> scopes
public void setUp() throws java.lang.Exception
java.lang.Exception
public static void setUpBeforeClass() throws java.lang.Exception
java.lang.Exception
public static void tearDownAfterClass() throws java.lang.Exception
java.lang.Exception
public void testPartialRead() throws java.lang.Exception
java.lang.Exception
public void testWALRecordReader() throws java.lang.Exception
java.lang.Exception
public void testWALRecordReaderActiveArchiveTolerance() throws java.lang.Exception
java.lang.Exception
- exceptionprotected WALKeyImpl getWalKeyImpl(long time, java.util.NavigableMap<byte[],java.lang.Integer> scopes)