Class TestAsyncProtobufLog
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractTestProtobufLog<org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter>
org.apache.hadoop.hbase.regionserver.wal.TestAsyncProtobufLog
public class TestAsyncProtobufLog
extends AbstractTestProtobufLog<org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>
static final HBaseClassTestRule
private static org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup
Fields inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractTestProtobufLog
currentTest, dir, fs, TEST_UTIL, wals
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
append
(org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter writer, org.apache.hadoop.hbase.wal.WAL.Entry entry) protected org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter
createWriter
(org.apache.hadoop.fs.Path path) static void
protected void
sync
(org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter writer) static void
Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractTestProtobufLog
setUp, tearDown, testWALTrailer
-
Field Details
-
CLASS_RULE
-
EVENT_LOOP_GROUP
-
CHANNEL_CLASS
-
-
Constructor Details
-
TestAsyncProtobufLog
public TestAsyncProtobufLog()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
createWriter
protected org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter createWriter(org.apache.hadoop.fs.Path path) throws IOException - Specified by:
createWriter
in classAbstractTestProtobufLog<org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter>
- Throws:
IOException
-
append
protected void append(org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter writer, org.apache.hadoop.hbase.wal.WAL.Entry entry) throws IOException - Specified by:
append
in classAbstractTestProtobufLog<org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter>
- Throws:
IOException
-
sync
- Specified by:
sync
in classAbstractTestProtobufLog<org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter>
- Throws:
IOException
-