public class TestAsyncProtobufLog extends AbstractTestProtobufLog<org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter>
Modifier and Type | Field and Description |
---|---|
private static Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> |
CHANNEL_CLASS |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup |
EVENT_LOOP_GROUP |
currentTest, dir, fs, TEST_UTIL, wals
Constructor and Description |
---|
TestAsyncProtobufLog() |
Modifier and Type | Method and Description |
---|---|
protected 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 |
setUpBeforeClass() |
protected void |
sync(org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter writer) |
static void |
tearDownAfterClass() |
setUp, tearDown, testWALTrailer
public static final HBaseClassTestRule CLASS_RULE
private static org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup EVENT_LOOP_GROUP
private static Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> CHANNEL_CLASS
public TestAsyncProtobufLog()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
protected org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter createWriter(org.apache.hadoop.fs.Path path) throws IOException
createWriter
in class AbstractTestProtobufLog<org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter>
IOException
protected void append(org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter writer, org.apache.hadoop.hbase.wal.WAL.Entry entry) throws IOException
append
in class AbstractTestProtobufLog<org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter>
IOException
protected void sync(org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter writer) throws IOException
sync
in class AbstractTestProtobufLog<org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter>
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.