private static class IOTestProvider.IOTestWriter extends org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
Modifier and Type | Field and Description |
---|---|
private boolean |
doAppends |
private boolean |
doSyncs |
Modifier | Constructor and Description |
---|---|
private |
IOTestWriter() |
Modifier and Type | Method and Description |
---|---|
void |
append(org.apache.hadoop.hbase.wal.WAL.Entry entry) |
protected String |
getWriterClassName() |
void |
init(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf,
boolean overwritable,
long blocksize) |
void |
sync(boolean forceSync) |
close, getOutputStreamForCellEncoder, getStream, initOutput, writeMagicAndWALHeader, writeWALTrailerAndMagic
buildSecureWALHeader, buildWALHeader, getLength, initAfterHeader, secureInitAfterHeader, setEncryptor, writeWALTrailer
private IOTestWriter()
public void init(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf, boolean overwritable, long blocksize) throws IOException, org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException
init
in interface org.apache.hadoop.hbase.wal.FSHLogProvider.Writer
init
in class org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufLogWriter
IOException
org.apache.hadoop.hbase.util.CommonFSUtils.StreamLacksCapabilityException
protected String getWriterClassName()
getWriterClassName
in class org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufLogWriter
public void append(org.apache.hadoop.hbase.wal.WAL.Entry entry) throws IOException
append
in interface org.apache.hadoop.hbase.wal.WALProvider.Writer
append
in class org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
IOException
public void sync(boolean forceSync) throws IOException
sync
in interface org.apache.hadoop.hbase.wal.WALProvider.Writer
sync
in class org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.