@InterfaceAudience.Private public class MutableSegment extends Segment
限定符和类型 | 字段和说明 |
---|---|
static long |
DEEP_OVERHEAD |
FIXED_OVERHEAD, memStoreSizing, minSequenceId, tagsPresent, timeRangeTracker
DUD
限定符 | 构造器和说明 |
---|---|
protected |
MutableSegment(CellSet cellSet,
CellComparator comparator,
MemStoreLAB memStoreLAB,
MemStoreSizing memstoreSizing) |
限定符和类型 | 方法和说明 |
---|---|
void |
add(Cell cell,
boolean mslabUsed,
MemStoreSizing memStoreSizing,
boolean sizeAddedPreOperation)
Adds the given cell into the segment
|
protected long |
indexEntrySize() |
boolean |
setInMemoryFlushed() |
void |
upsert(Cell cell,
long readpoint,
MemStoreSizing memStoreSizing,
boolean sizeAddedPreOperation) |
close, compare, compareAndSetDataSize, compareRows, decScannerCount, getCellsCount, getCellSet, getComparator, getDataSize, getHeapSize, getMemStoreSize, getMinSequenceId, getOffHeapSize, getScanner, getScanners, getTimeRangeTracker, headSet, heapSizeChange, incMemStoreSize, incScannerCount, indexEntryOffHeapSize, indexEntryOnHeapSize, internalAdd, isEmpty, isTagsPresent, iterator, last, maybeCloneWithAllocator, offHeapSizeChange, setCellSet, sharedLock, sharedUnlock, shouldSeek, tailSet, toString, updateMetaInfo, updateMetaInfo, waitForUpdates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
decMemStoreSize, decMemStoreSize, incMemStoreSize
protected MutableSegment(CellSet cellSet, CellComparator comparator, MemStoreLAB memStoreLAB, MemStoreSizing memstoreSizing)
public void add(Cell cell, boolean mslabUsed, MemStoreSizing memStoreSizing, boolean sizeAddedPreOperation)
cell
- the cell to addmslabUsed
- whether using MSLABpublic void upsert(Cell cell, long readpoint, MemStoreSizing memStoreSizing, boolean sizeAddedPreOperation)
public boolean setInMemoryFlushed()
protected long indexEntrySize()
indexEntrySize
在类中 Segment
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.