Class TestLogRollingNoCluster.HighLatencySyncWriter
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufLogWriter
org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
org.apache.hadoop.hbase.regionserver.wal.TestLogRollingNoCluster.HighLatencySyncWriter
- 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:
- TestLogRollingNoCluster
public static class TestLogRollingNoCluster.HighLatencySyncWriter
extends org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
ProtobufLogWriter that simulates higher latencies in sync() call
-
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
-
HighLatencySyncWriter
public HighLatencySyncWriter()
-
-
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
-