@InterfaceAudience.Private public class EntryBuffers extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EntryBuffers.RegionEntryBuffer
A buffer of some number of edits for a given region.
|
| Modifier and Type | Field and Description |
|---|---|
protected long |
maxHeapUsage |
protected long |
totalBuffered |
| Constructor and Description |
|---|
EntryBuffers(WALSplitter.PipelineController controller,
long maxHeapUsage) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendEntry(WAL.Entry entry)
Append a log entry into the corresponding region buffer.
|
void |
waitUntilDrained() |
protected long totalBuffered
protected final long maxHeapUsage
public EntryBuffers(WALSplitter.PipelineController controller, long maxHeapUsage)
public void appendEntry(WAL.Entry entry) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic void waitUntilDrained()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.