@InterfaceAudience.Private public class BoundedEntryBuffers extends EntryBuffers
BoundedRecoveredEditsOutputSink. The core part of limiting opening writers is it
 doesn't return chunk only if the heap size is over maxHeapUsage. Thus it doesn't need to create
 a writer for each region during splitting. The returned EntryBuffers.RegionEntryBuffer
 will be write to recovered edits file and close the writer immediately.
 See BoundedRecoveredEditsOutputSink.append(EntryBuffers.RegionEntryBuffer) for more
 details.EntryBuffers.RegionEntryBufferbuffers, maxHeapUsage, totalBuffered| Constructor and Description | 
|---|
| BoundedEntryBuffers(WALSplitter.PipelineController controller,
                   long maxHeapUsage) | 
| Modifier and Type | Method and Description | 
|---|---|
| (package private) EntryBuffers.RegionEntryBuffer | getChunkToWrite() | 
appendEntry, doneWriting, isRegionCurrentlyWriting, waitUntilDrainedpublic BoundedEntryBuffers(WALSplitter.PipelineController controller, long maxHeapUsage)
EntryBuffers.RegionEntryBuffer getChunkToWrite()
getChunkToWrite in class EntryBuffersCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.