public static class WALSplitter.RegionEntryBuffer extends Object implements HeapSize
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
encodedRegionName |
(package private) List<WAL.Entry> |
entryBuffer |
(package private) long |
heapInBuffer |
(package private) TableName |
tableName |
Constructor and Description |
---|
RegionEntryBuffer(TableName tableName,
byte[] region) |
Modifier and Type | Method and Description |
---|---|
(package private) long |
appendEntry(WAL.Entry entry) |
byte[] |
getEncodedRegionName() |
List<WAL.Entry> |
getEntryBuffer() |
TableName |
getTableName() |
long |
heapSize() |
private void |
internify(WAL.Entry entry) |
long heapInBuffer
List<WAL.Entry> entryBuffer
byte[] encodedRegionName
RegionEntryBuffer(TableName tableName, byte[] region)
long appendEntry(WAL.Entry entry)
public long heapSize()
public byte[] getEncodedRegionName()
public List<WAL.Entry> getEntryBuffer()
public TableName getTableName()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.