@InterfaceAudience.LimitedPrivate(value="Coprocesssor") public class MemStoreSize extends Object
Immutable!
MemStoreSizing
Modifier and Type | Field and Description |
---|---|
private int |
cellsCount |
private long |
dataSize
'dataSize' tracks the Cell's data bytes size alone (Key bytes, value bytes).
|
private long |
heapSize
'getHeapSize' tracks all Cell's heap size occupancy.
|
private long |
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
|
Constructor and Description |
---|
MemStoreSize()
Package private constructor.
|
MemStoreSize(long dataSize,
long heapSize,
long offHeapSize,
int cellsCount)
Package private constructor.
|
MemStoreSize(MemStoreSize memStoreSize)
Package private constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getCellsCount() |
long |
getDataSize() |
long |
getHeapSize() |
long |
getOffHeapSize() |
int |
hashCode() |
boolean |
isEmpty() |
String |
toString() |
private final long dataSize
private final long heapSize
private final long offHeapSize
private final int cellsCount
MemStoreSize()
MemStoreSize(long dataSize, long heapSize, long offHeapSize, int cellsCount)
MemStoreSize(MemStoreSize memStoreSize)
public boolean isEmpty()
public long getDataSize()
public long getHeapSize()
public long getOffHeapSize()
public int getCellsCount()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.