Class CombinedAsyncWriter
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.CombinedWriterBase<WALProvider.AsyncWriter>
org.apache.hadoop.hbase.regionserver.wal.CombinedAsyncWriter
- All Implemented Interfaces:
Closeable
,AutoCloseable
,WALProvider.AsyncWriter
,WALProvider.WriterBase
@Private
public final class CombinedAsyncWriter
extends CombinedWriterBase<WALProvider.AsyncWriter>
implements WALProvider.AsyncWriter
An
WALProvider.AsyncWriter
wrapper which writes data to a set of WALProvider.AsyncWriter
instances.-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.wal.CombinedWriterBase
writers
-
Constructor Summary
ModifierConstructorDescriptionprivate
CombinedAsyncWriter
(org.apache.hbase.thirdparty.com.google.common.collect.ImmutableList<WALProvider.AsyncWriter> writers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static CombinedAsyncWriter
create
(WALProvider.AsyncWriter writer, WALProvider.AsyncWriter... writers) sync
(boolean forceSync) Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.CombinedWriterBase
close, getLength, getSyncedLength
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.wal.WALProvider.WriterBase
getLength, getSyncedLength
-
Constructor Details
-
CombinedAsyncWriter
private CombinedAsyncWriter(org.apache.hbase.thirdparty.com.google.common.collect.ImmutableList<WALProvider.AsyncWriter> writers)
-
-
Method Details
-
append
- Specified by:
append
in interfaceWALProvider.AsyncWriter
-
sync
- Specified by:
sync
in interfaceWALProvider.AsyncWriter
-
create
public static CombinedAsyncWriter create(WALProvider.AsyncWriter writer, WALProvider.AsyncWriter... writers)
-