public static class TestHStore.MyCompactingMemStore2 extends org.apache.hadoop.hbase.regionserver.CompactingMemStore
Modifier and Type | Field and Description |
---|---|
private static String |
LARGE_CELL_THREAD_NAME |
private AtomicInteger |
largeCellPreUpdateCounter |
private CyclicBarrier |
postCyclicBarrier |
private CyclicBarrier |
preCyclicBarrier |
private static String |
SMALL_CELL_THREAD_NAME |
private AtomicInteger |
smallCellPreUpdateCounter |
allowCompaction, COMPACTING_MEMSTORE_TYPE_DEFAULT, COMPACTING_MEMSTORE_TYPE_KEY, compactor, DEEP_OVERHEAD, IN_MEMORY_CONPACTION_POOL_SIZE_DEFAULT, IN_MEMORY_CONPACTION_POOL_SIZE_KEY, IN_MEMORY_FLUSH_THRESHOLD_FACTOR_KEY
Constructor and Description |
---|
MyCompactingMemStore2(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.CellComparatorImpl cellComparator,
org.apache.hadoop.hbase.regionserver.HStore store,
org.apache.hadoop.hbase.regionserver.RegionServicesForStores regionServices,
org.apache.hadoop.hbase.MemoryCompactionPolicy compactionPolicy) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkAndAddToActiveSize(org.apache.hadoop.hbase.regionserver.MutableSegment currActive,
org.apache.hadoop.hbase.Cell cellToAdd,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing) |
protected void |
doAdd(org.apache.hadoop.hbase.regionserver.MutableSegment currentActive,
org.apache.hadoop.hbase.Cell cell,
org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing) |
protected void |
flushInMemory(org.apache.hadoop.hbase.regionserver.MutableSegment currentActiveMutableSegment) |
createList, createMemStoreCompactor, debug, flattenOneSegment, flushInMemory, getFamilyName, getFlushableSize, getImmutableSegments, getIndexType, getInmemoryFlushSize, getNextRow, getScanners, getSegments, getSmallestReadPoint, getStore, hasImmutableSegments, heapSize, inMemoryCompaction, isMemStoreFlushingInMemory, isSloppy, keySize, postUpdate, preFlushSeqIDEstimation, preUpdate, pushActiveToPipeline, setCompositeSnapshot, setIndexType, setInMemoryCompactionCompleted, setInMemoryCompactionFlag, size, sizeAddedPreOperation, snapshot, startReplayingFromWAL, stopReplayingFromWAL, swapCompactedSegments, swapPipelineWithNull, updateLowestUnflushedSequenceIdInWAL
add, add, addToScanners, addToScanners, clearSnapshot, doClearSnapShot, dump, getActive, getComparator, getConfiguration, getLowest, getNextRow, getSnapshot, getSnapshotSize, resetActive, resetTimeOfOldestEdit, timeOfOldestEdit, toString, upsert
private static final String LARGE_CELL_THREAD_NAME
private static final String SMALL_CELL_THREAD_NAME
private final CyclicBarrier preCyclicBarrier
private final CyclicBarrier postCyclicBarrier
private final AtomicInteger largeCellPreUpdateCounter
private final AtomicInteger smallCellPreUpdateCounter
public MyCompactingMemStore2(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.CellComparatorImpl cellComparator, org.apache.hadoop.hbase.regionserver.HStore store, org.apache.hadoop.hbase.regionserver.RegionServicesForStores regionServices, org.apache.hadoop.hbase.MemoryCompactionPolicy compactionPolicy) throws IOException
IOException
protected boolean checkAndAddToActiveSize(org.apache.hadoop.hbase.regionserver.MutableSegment currActive, org.apache.hadoop.hbase.Cell cellToAdd, org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
checkAndAddToActiveSize
in class org.apache.hadoop.hbase.regionserver.CompactingMemStore
protected void doAdd(org.apache.hadoop.hbase.regionserver.MutableSegment currentActive, org.apache.hadoop.hbase.Cell cell, org.apache.hadoop.hbase.regionserver.MemStoreSizing memstoreSizing)
doAdd
in class org.apache.hadoop.hbase.regionserver.AbstractMemStore
protected void flushInMemory(org.apache.hadoop.hbase.regionserver.MutableSegment currentActiveMutableSegment)
flushInMemory
in class org.apache.hadoop.hbase.regionserver.CompactingMemStore
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.