Package org.apache.hadoop.hbase.wal
Class EntryBuffers.RegionEntryBuffer
java.lang.Object
org.apache.hadoop.hbase.wal.EntryBuffers.RegionEntryBuffer
- All Implemented Interfaces:
HeapSize
- Enclosing class:
- EntryBuffers
A buffer of some number of edits for a given region. This accumulates edits and also provides a
memory optimization in order to share a single byte array instance for the table and region
name. Also tracks memory usage of the accumulated edits.
-
Field Summary
Modifier and TypeFieldDescription(package private) final byte[]
private long
(package private) final TableName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) long
appendEntry
(WAL.Entry entry) byte[]
long
heapSize()
Return the approximate 'exclusive deep size' of implementing object.private void
-
Field Details
-
heapInBuffer
-
entries
-
tableName
-
encodedRegionName
-
-
Constructor Details
-
RegionEntryBuffer
RegionEntryBuffer(TableName tableName, byte[] region)
-
-
Method Details