public static class TestHStore.MyCompactingMemStore3 extends org.apache.hadoop.hbase.regionserver.CompactingMemStore
Modifier and Type | Field and Description |
---|---|
private static int |
CELL_COUNT |
private boolean |
flushByteSizeLessThanSmallAndLargeCellSize |
private AtomicInteger |
flushCounter |
private static String |
LARGE_CELL_THREAD_NAME |
private CyclicBarrier |
postCyclicBarrier |
private CyclicBarrier |
preCyclicBarrier |
private static String |
SMALL_CELL_THREAD_NAME |
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 |
---|
MyCompactingMemStore3(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) |
(package private) void |
disableCompaction() |
(package private) void |
enableCompaction() |
protected void |
flushInMemory(org.apache.hadoop.hbase.regionserver.MutableSegment currentActiveMutableSegment) |
protected void |
postUpdate(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, preFlushSeqIDEstimation, preUpdate, pushActiveToPipeline, setCompositeSnapshot, setIndexType, setInMemoryCompactionCompleted, setInMemoryCompactionFlag, size, sizeAddedPreOperation, snapshot, startReplayingFromWAL, stopReplayingFromWAL, swapCompactedSegments, swapPipelineWithNull, updateLowestUnflushedSequenceIdInWAL
add, add, addToScanners, addToScanners, clearSnapshot, doAdd, 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 flushCounter
private static final int CELL_COUNT
private boolean flushByteSizeLessThanSmallAndLargeCellSize
public MyCompactingMemStore3(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 postUpdate(org.apache.hadoop.hbase.regionserver.MutableSegment currentActiveMutableSegment)
postUpdate
in class org.apache.hadoop.hbase.regionserver.CompactingMemStore
protected void flushInMemory(org.apache.hadoop.hbase.regionserver.MutableSegment currentActiveMutableSegment)
flushInMemory
in class org.apache.hadoop.hbase.regionserver.CompactingMemStore
void disableCompaction()
void enableCompaction()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.