Uses of Interface
org.apache.hadoop.hbase.regionserver.MemStoreSizing
-
Uses of MemStoreSizing in org.apache.hadoop.hbase.regionserver
Modifier and TypeClassDescriptionclass
CellArrayImmutableSegment extends the API supported by aSegment
, andImmutableSegment
.class
CellChunkImmutableSegment extends the API supported by aSegment
, andImmutableSegment
.class
The CompositeImmutableSegments is created as a collection of ImmutableSegments and supports the interface of a single ImmutableSegments.class
CSLMImmutableSegment is an abstract class that extends the API supported by aSegment
, andImmutableSegment
.class
ImmutableSegment is an abstract class that extends the API supported by aSegment
, and is not needed for aMutableSegment
.class
A mutable segment in memstore, specifically the active segment.(package private) class
Accounting of current heap and data sizes.class
This is an abstraction of a segment maintained in a memstore, e.g., the active cell set or its snapshot.(package private) class
Accounting of current heap and data sizes.Modifier and TypeFieldDescriptionstatic final MemStoreSizing
MemStoreSizing.DUD
private final MemStoreSizing
HRegion.memStoreSizing
protected final MemStoreSizing
Segment.memStoreSizing
(package private) final MemStoreSizing
HRegion.PrepareFlushResult.totalFlushableSize
Modifier and TypeMethodDescriptionvoid
AbstractMemStore.add
(Iterable<Cell> cells, MemStoreSizing memstoreSizing) void
AbstractMemStore.add
(Cell cell, MemStoreSizing memstoreSizing) void
HStore.add
(Iterable<Cell> cells, MemStoreSizing memstoreSizing) Adds the specified value to the memstorevoid
HStore.add
(Cell cell, MemStoreSizing memstoreSizing) Adds a value to the memstorevoid
MemStore.add
(Iterable<Cell> cells, MemStoreSizing memstoreSizing) Write the updatesvoid
MemStore.add
(Cell cell, MemStoreSizing memstoreSizing) Write an updatevoid
MutableSegment.add
(Cell cell, boolean mslabUsed, MemStoreSizing memStoreSizing, boolean sizeAddedPreOperation) Adds the given cell into the segmentprotected void
HRegion.BatchOperation.applyFamilyMapToMemStore
(Map<byte[], List<Cell>> familyMap, MemStoreSizing memstoreAccounting) Atomically apply the given map of family->edits to the memstore.private void
HRegion.applyToMemStore
(HStore store, List<Cell> cells, boolean delta, MemStoreSizing memstoreAccounting) private void
HRegion.applyToMemStore
(HStore store, Cell cell, MemStoreSizing memstoreAccounting) protected boolean
CompactingMemStore.checkAndAddToActiveSize
(MutableSegment currActive, Cell cellToAdd, MemStoreSizing memstoreSizing) Check whether anything need to be done based on the current active set size.private Cell
CellChunkImmutableSegment.copyCellIntoMSLAB
(Cell cell, MemStoreSizing memstoreSizing) SegmentFactory.createImmutableSegment
(MutableSegment segment, MemStoreSizing memstoreSizing) SegmentFactory.createImmutableSegmentByFlattening
(CSLMImmutableSegment segment, CompactingMemStore.IndexType idxType, MemStoreSizing memstoreSizing, MemStoreCompactionStrategy.Action action) SegmentFactory.createMutableSegment
(org.apache.hadoop.conf.Configuration conf, CellComparator comparator, MemStoreSizing memstoreSizing) protected void
AbstractMemStore.doAdd
(MutableSegment currentActive, Cell cell, MemStoreSizing memstoreSizing) private void
AbstractMemStore.doAddOrUpsert
(Cell cell, long readpoint, MemStoreSizing memstoreSizing, boolean doAdd) private void
AbstractMemStore.doUpsert
(MutableSegment currentActive, Cell cell, long readpoint, MemStoreSizing memstoreSizing) private MutableSegment
SegmentFactory.generateMutableSegment
(org.apache.hadoop.conf.Configuration conf, CellComparator comparator, MemStoreLAB memStoreLAB, MemStoreSizing memstoreSizing) private void
AbstractMemStore.internalAdd
(MutableSegment currentActive, Cell toAdd, boolean mslabUsed, MemStoreSizing memstoreSizing) protected void
CompositeImmutableSegment.internalAdd
(Cell cell, boolean mslabUsed, MemStoreSizing memstoreSizing, boolean sizeAddedPreOperation) protected void
Segment.internalAdd
(Cell cell, boolean mslabUsed, MemStoreSizing memstoreSizing, boolean sizeAddedPreOperation) protected abstract boolean
AbstractMemStore.preUpdate
(MutableSegment currentActive, Cell cell, MemStoreSizing memstoreSizing) Issue any synchronization and test needed before applying the updateprotected boolean
CompactingMemStore.preUpdate
(MutableSegment currentActive, Cell cell, MemStoreSizing memstoreSizing) Issue any synchronization and test needed before applying the update For compacting memstore this means checking the update can increase the size without overflowprotected boolean
DefaultMemStore.preUpdate
(MutableSegment currentActive, Cell cell, MemStoreSizing memstoreSizing) private void
CellChunkImmutableSegment.reinitializeCellSet
(int numOfCells, KeyValueScanner segmentScanner, CellSet oldCellSet, MemStoreSizing memstoreSizing, MemStoreCompactionStrategy.Action action) protected void
HRegion.restoreEdit
(HStore s, Cell cell, MemStoreSizing memstoreAccounting) Used by testsprotected void
CompositeImmutableSegment.updateMetaInfo
(Cell cellToAdd, boolean succ, boolean mslabUsed, MemStoreSizing memstoreSizing, boolean sizeAddedPreOperation) protected void
Segment.updateMetaInfo
(Cell cellToAdd, boolean succ, boolean mslabUsed, MemStoreSizing memstoreSizing, boolean sizeAddedPreOperation) protected void
Segment.updateMetaInfo
(Cell cellToAdd, boolean succ, MemStoreSizing memstoreSizing) void
AbstractMemStore.upsert
(Iterable<Cell> cells, long readpoint, MemStoreSizing memstoreSizing) private void
AbstractMemStore.upsert
(Cell cell, long readpoint, MemStoreSizing memstoreSizing) void
HStore.upsert
(Iterable<Cell> cells, long readpoint, MemStoreSizing memstoreSizing) Adds or replaces the specified KeyValues.void
MemStore.upsert
(Iterable<Cell> cells, long readpoint, MemStoreSizing memstoreSizing) Update or insert the specified cells.void
MutableSegment.upsert
(Cell cell, long readpoint, MemStoreSizing memStoreSizing, boolean sizeAddedPreOperation) ModifierConstructorDescriptionprotected
CellArrayImmutableSegment
(CSLMImmutableSegment segment, MemStoreSizing mss, MemStoreCompactionStrategy.Action action) ------------------------------------------------------------------------ C-tor to be used when new CellChunkImmutableSegment is built as a result of flattening of CSLMImmutableSegment The given iterator returns the Cells that "survived" the compaction.protected
CellChunkImmutableSegment
(CSLMImmutableSegment segment, MemStoreSizing memstoreSizing, MemStoreCompactionStrategy.Action action) ------------------------------------------------------------------------ C-tor to be used when new CellChunkImmutableSegment is built as a result of flattening of CSLMImmutableSegment The given iterator returns the Cells that "survived" the compaction.protected
CSLMImmutableSegment
(Segment segment, MemStoreSizing memstoreSizing) ------------------------------------------------------------------------ Copy C-tor to be used when new CSLMImmutableSegment is being built from a Mutable one.protected
MutableSegment
(CellSet cellSet, CellComparator comparator, MemStoreLAB memStoreLAB, MemStoreSizing memstoreSizing) (package private)
PrepareFlushResult
(TreeMap<byte[], StoreFlushContext> storeFlushCtxs, TreeMap<byte[], List<org.apache.hadoop.fs.Path>> committedFiles, TreeMap<byte[], MemStoreSize> storeFlushableSize, long startTime, long flushSeqId, long flushedSeqId, MemStoreSizing totalFlushableSize) Constructs a successful prepare flush resultprivate
PrepareFlushResult
(HRegion.FlushResultImpl result, TreeMap<byte[], StoreFlushContext> storeFlushCtxs, TreeMap<byte[], List<org.apache.hadoop.fs.Path>> committedFiles, TreeMap<byte[], MemStoreSize> storeFlushableSize, long startTime, long flushSeqId, long flushedSeqId, MemStoreSizing totalFlushableSize)