Class MemStoreSize
java.lang.Object
org.apache.hadoop.hbase.regionserver.MemStoreSize
Data structure of three longs. Convenient package in which to carry current state of three
counters.
Immutable!
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final long'dataSize' tracks the Cell's data bytes size alone (Key bytes, value bytes).private final long'getHeapSize' tracks all Cell's heap size occupancy.private final longoff-heap size: the aggregated size of all data that is allocated off-heap including all key-values that reside off-heap and the metadata that resides off-heap -
Constructor Summary
ConstructorsConstructorDescriptionPackage private constructor.MemStoreSize(long dataSize, long heapSize, long offHeapSize, int cellsCount) Package private constructor.MemStoreSize(MemStoreSize memStoreSize) Package private constructor. -
Method Summary
-
Field Details
-
dataSize
'dataSize' tracks the Cell's data bytes size alone (Key bytes, value bytes). A cell's data can be in on heap or off heap area depending on the MSLAB and its configuration to be using on heap or off heap LABs -
heapSize
'getHeapSize' tracks all Cell's heap size occupancy. This will include Cell POJO heap overhead. When Cells in on heap area, this will include the cells data size as well. -
offHeapSize
off-heap size: the aggregated size of all data that is allocated off-heap including all key-values that reside off-heap and the metadata that resides off-heap -
cellsCount
-
-
Constructor Details
-
MemStoreSize
Package private constructor. -
MemStoreSize
MemStoreSize(long dataSize, long heapSize, long offHeapSize, int cellsCount) Package private constructor. -
MemStoreSize
MemStoreSize(MemStoreSize memStoreSize) Package private constructor.
-
-
Method Details