Package org.apache.hadoop.hbase.wal
Class TestOutputSinkWriter.BrokenEntryBuffers
java.lang.Object
org.apache.hadoop.hbase.wal.TestOutputSinkWriter.BrokenEntryBuffers
- Enclosing class:
- TestOutputSinkWriter
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
org.apache.hadoop.hbase.wal.EntryBuffers.RegionEntryBuffer
-
Field Summary
Modifier and TypeFieldDescription(package private) final Map<byte[],
org.apache.hadoop.hbase.wal.EntryBuffers.RegionEntryBuffer> protected final long
(package private) boolean
protected long
-
Constructor Summary
ConstructorDescriptionBrokenEntryBuffers
(org.apache.hadoop.hbase.wal.WALSplitter.PipelineController controller, long maxHeapUsage) -
Method Summary
Modifier and TypeMethodDescription(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
isRegionCurrentlyWriting
(byte[] arg0) void
setThrowError
(boolean newValue)
-
Field Details
-
throwError
boolean throwError -
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
-
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)
-