@InterfaceAudience.Private public class BoundedEntryBuffers extends Object
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.| Modifier and Type | Field and Description |
|---|---|
protected long |
maxHeapUsage |
protected long |
totalBuffered |
| Constructor and Description |
|---|
BoundedEntryBuffers(WALSplitter.PipelineController controller,
long maxHeapUsage) |
protected long totalBuffered
protected final long maxHeapUsage
public BoundedEntryBuffers(WALSplitter.PipelineController controller, long maxHeapUsage)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.