Class TestLogRolling.SlowSyncLogWriter
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufLogWriter
org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
org.apache.hadoop.hbase.regionserver.wal.TestLogRolling.SlowSyncLogWriter
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.hbase.wal.FSHLogProvider.Writer
,org.apache.hadoop.hbase.wal.WALProvider.Writer
,org.apache.hadoop.hbase.wal.WALProvider.WriterBase
- Enclosing class:
- TestLogRolling
public static class TestLogRolling.SlowSyncLogWriter
extends org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
output
Fields inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufLogWriter
cellEncoder, compressionContext, compressor, conf, encryptor, length, trailer, trailerWarnSize, trailerWritten
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
append, close, closeOutputIfNecessary, getOutputStreamForCellEncoder, getStream, getSyncedLength, initOutput, writeMagicAndWALHeader, writeWALTrailerAndMagic
Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufLogWriter
getLength, init, setWALTrailer, writeWALTrailer
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.FSHLogProvider.Writer
init
Methods inherited from interface org.apache.hadoop.hbase.wal.WALProvider.WriterBase
getLength
-
Constructor Details
-
SlowSyncLogWriter
public SlowSyncLogWriter()
-
-
Method Details
-
sync
- Specified by:
sync
in interfaceorg.apache.hadoop.hbase.wal.WALProvider.Writer
- Overrides:
sync
in classorg.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
- Throws:
IOException
-