Class InstrumentedLogWriter

java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufLogWriter
org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
org.apache.hadoop.hbase.regionserver.wal.InstrumentedLogWriter
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

public class InstrumentedLogWriter extends org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    append(org.apache.hadoop.hbase.wal.WAL.Entry entry)
     

    Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter

    close, closeOutputIfNecessary, getOutputStreamForCellEncoder, getStream, getSyncedLength, initOutput, sync, 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
  • Field Details

  • Constructor Details

  • Method Details

    • append

      public void append(org.apache.hadoop.hbase.wal.WAL.Entry entry) throws IOException
      Specified by:
      append in interface org.apache.hadoop.hbase.wal.WALProvider.Writer
      Overrides:
      append in class org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
      Throws:
      IOException