public class TestAsyncProtobufLog extends AbstractTestProtobufLog<WALProvider.AsyncWriter>
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
currentTest, dir, fs, TEST_UTIL, wals| Constructor and Description |
|---|
TestAsyncProtobufLog() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(WALProvider.AsyncWriter writer,
WAL.Entry entry) |
protected WALProvider.AsyncWriter |
createWriter(org.apache.hadoop.fs.Path path) |
static void |
setUpBeforeClass() |
protected void |
sync(WALProvider.AsyncWriter writer) |
static void |
tearDownAfterClass() |
setUp, tearDown, testWALTrailerpublic static final HBaseClassTestRule CLASS_RULE
public TestAsyncProtobufLog()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionprotected WALProvider.AsyncWriter createWriter(org.apache.hadoop.fs.Path path) throws IOException
createWriter in class AbstractTestProtobufLog<WALProvider.AsyncWriter>IOExceptionprotected void append(WALProvider.AsyncWriter writer, WAL.Entry entry) throws IOException
append in class AbstractTestProtobufLog<WALProvider.AsyncWriter>IOExceptionprotected void sync(WALProvider.AsyncWriter writer) throws IOException
sync in class AbstractTestProtobufLog<WALProvider.AsyncWriter>IOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.