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