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) |
checkActiveSize, createMemStoreCompactor, debug, flattenOneSegment, flushInMemory, getFamilyName, getFlushableSize, getImmutableSegments, getIndexType, getInmemoryFlushSize, getNextRow, getScanners, getSegments, getSmallestReadPoint, getStore, hasImmutableSegments, heapSize, isMemStoreFlushingInMemory, isSloppy, keySize, preFlushSeqIDEstimation, setCompositeSnapshot, setIndexType, shouldFlushInMemory, size, snapshot, startReplayingFromWAL, stopReplayingFromWAL, swapCompactedSegments, updateLowestUnflushedSequenceIdInWAL
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–2019 The Apache Software Foundation. All rights reserved.