Class CSLMImmutableSegment
java.lang.Object
org.apache.hadoop.hbase.regionserver.Segment
org.apache.hadoop.hbase.regionserver.ImmutableSegment
org.apache.hadoop.hbase.regionserver.CSLMImmutableSegment
- All Implemented Interfaces:
MemStoreSizing
CSLMImmutableSegment is an abstract class that extends the API supported by a
Segment
,
and ImmutableSegment
. This immutable segment is working with CellSet with
ConcurrentSkipListMap (CSLM) delegatee.-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.ImmutableSegment
DEEP_OVERHEAD
Fields inherited from class org.apache.hadoop.hbase.regionserver.Segment
FIXED_OVERHEAD, memStoreSizing, minSequenceId, tagsPresent, timeRangeTracker
Fields inherited from interface org.apache.hadoop.hbase.regionserver.MemStoreSizing
DUD
-
Constructor Summary
ModifierConstructorDescriptionprotected
CSLMImmutableSegment
(Segment segment, MemStoreSizing memstoreSizing) ------------------------------------------------------------------------ Copy C-tor to be used when new CSLMImmutableSegment is being built from a Mutable one. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected long
Methods inherited from class org.apache.hadoop.hbase.regionserver.ImmutableSegment
getAllSegments, getNumOfSegments, getNumUniqueKeys, getSnapshotScanners, toString
Methods inherited from class org.apache.hadoop.hbase.regionserver.Segment
close, compare, compareAndSetDataSize, compareRows, decScannerCount, dump, getCellLength, getCellsCount, getCellSet, getComparator, getDataSize, getHeapSize, getMemStoreLAB, getMemStoreSize, getMinSequenceId, getOffHeapSize, getScanner, getScanners, getTimeRangeTracker, headSet, heapSizeChange, incMemStoreSize, incScannerCount, indexEntryOffHeapSize, indexEntryOnHeapSize, internalAdd, isEmpty, isTagsPresent, iterator, last, maybeCloneWithAllocator, offHeapSizeChange, setCellSet, sharedLock, sharedUnlock, shouldSeek, tailSet, updateMetaInfo, updateMetaInfo, waitForUpdates
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.regionserver.MemStoreSizing
decMemStoreSize, decMemStoreSize, incMemStoreSize
-
Field Details
-
DEEP_OVERHEAD_CSLM
-
-
Constructor Details
-
CSLMImmutableSegment
------------------------------------------------------------------------ Copy C-tor to be used when new CSLMImmutableSegment is being built from a Mutable one. This C-tor should be used when active MutableSegment is pushed into the compaction pipeline and becomes an ImmutableSegment.
-
-
Method Details
-
indexEntrySize
- Specified by:
indexEntrySize
in classSegment
-
canBeFlattened
- Specified by:
canBeFlattened
in classImmutableSegment
-