public static class TestHStore.MyCompactingMemStore extends org.apache.hadoop.hbase.regionserver.CompactingMemStore
Modifier and Type | Field and Description |
---|---|
private CountDownLatch |
getScannerLatch |
private CountDownLatch |
snapshotLatch |
private static AtomicBoolean |
START_TEST |
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 |
---|
MyCompactingMemStore(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.CellComparatorImpl c,
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 List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> |
createList(int capacity) |
protected void |
pushActiveToPipeline(org.apache.hadoop.hbase.regionserver.MutableSegment active) |
createMemStoreCompactor, debug, flattenOneSegment, flushInMemory, getFamilyName, getFlushableSize, getImmutableSegments, getIndexType, getInmemoryFlushSize, getNextRow, getScanners, getSegments, getSmallestReadPoint, getStore, hasImmutableSegments, heapSize, inMemoryCompaction, isMemStoreFlushingInMemory, isSloppy, keySize, postUpdate, preFlushSeqIDEstimation, preUpdate, setCompositeSnapshot, setIndexType, setInMemoryCompactionCompleted, setInMemoryCompactionFlag, shouldFlushInMemory, size, sizeAddedPreOperation, snapshot, startReplayingFromWAL, stopReplayingFromWAL, swapCompactedSegments, updateLowestUnflushedSequenceIdInWAL
add, add, addToScanners, addToScanners, clearSnapshot, dump, getActive, getComparator, getConfiguration, getLowest, getNextRow, getSnapshot, getSnapshotSize, resetActive, resetTimeOfOldestEdit, timeOfOldestEdit, toString, upsert
private static final AtomicBoolean START_TEST
private final CountDownLatch getScannerLatch
private final CountDownLatch snapshotLatch
public MyCompactingMemStore(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.CellComparatorImpl c, org.apache.hadoop.hbase.regionserver.HStore store, org.apache.hadoop.hbase.regionserver.RegionServicesForStores regionServices, org.apache.hadoop.hbase.MemoryCompactionPolicy compactionPolicy) throws IOException
IOException
protected List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> createList(int capacity)
createList
in class org.apache.hadoop.hbase.regionserver.CompactingMemStore
protected void pushActiveToPipeline(org.apache.hadoop.hbase.regionserver.MutableSegment active)
pushActiveToPipeline
in class org.apache.hadoop.hbase.regionserver.CompactingMemStore
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.