public static final class TestAsyncFSWALRollStuck.TestAsyncWriter extends org.apache.hadoop.hbase.regionserver.wal.AsyncProtobufLogWriter
Constructor and Description |
---|
TestAsyncWriter(org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup,
Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Long> |
sync(boolean forceSync) |
append, close, closeOutputIfNecessary, getOutput, getOutputStreamForCellEncoder, getSyncedLength, getWriterClassName, initOutput, writeMagicAndWALHeader, writeWALTrailerAndMagic
buildSecureWALHeader, buildWALHeader, getLength, init, initAfterHeader, secureInitAfterHeader, setEncryptor, setWALTrailer, writeWALTrailer
public TestAsyncWriter(org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup, Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass)
public CompletableFuture<Long> sync(boolean forceSync)
sync
in interface org.apache.hadoop.hbase.wal.WALProvider.AsyncWriter
sync
in class org.apache.hadoop.hbase.regionserver.wal.AsyncProtobufLogWriter
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.