Class TestOutputSinkWriter.BrokenEntryBuffers

java.lang.Object
org.apache.hadoop.hbase.wal.TestOutputSinkWriter.BrokenEntryBuffers
Enclosing class:
TestOutputSinkWriter

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) static class 
    org.apache.hadoop.hbase.wal.EntryBuffers.RegionEntryBuffer
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final Map<byte[],org.apache.hadoop.hbase.wal.EntryBuffers.RegionEntryBuffer>
     
    protected final long
     
    (package private) boolean
     
    protected long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BrokenEntryBuffers(org.apache.hadoop.hbase.wal.WALSplitter.PipelineController controller, long maxHeapUsage)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    appendEntry(org.apache.hadoop.hbase.wal.WAL.Entry arg0)
     
    (package private) void
    doneWriting(org.apache.hadoop.hbase.wal.EntryBuffers.RegionEntryBuffer arg0)
     
    (package private) org.apache.hadoop.hbase.wal.EntryBuffers.RegionEntryBuffer
     
    (package private) boolean
     
    void
    setThrowError(boolean newValue)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • throwError

      boolean throwError
    • buffers

      final Map<byte[],org.apache.hadoop.hbase.wal.EntryBuffers.RegionEntryBuffer> buffers
    • totalBuffered

      protected long totalBuffered
    • maxHeapUsage

      protected final long maxHeapUsage
  • Constructor Details

    • BrokenEntryBuffers

      public BrokenEntryBuffers(org.apache.hadoop.hbase.wal.WALSplitter.PipelineController controller, long maxHeapUsage)
  • Method Details

    • getChunkToWrite

      org.apache.hadoop.hbase.wal.EntryBuffers.RegionEntryBuffer getChunkToWrite()
    • setThrowError

      public void setThrowError(boolean newValue)
    • appendEntry

      void appendEntry(org.apache.hadoop.hbase.wal.WAL.Entry arg0) throws InterruptedException, IOException
      Throws:
      InterruptedException
      IOException
    • doneWriting

      void doneWriting(org.apache.hadoop.hbase.wal.EntryBuffers.RegionEntryBuffer arg0)
    • isRegionCurrentlyWriting

      boolean isRegionCurrentlyWriting(byte[] arg0)