@InterfaceAudience.Private public class RegionServicesForStores extends Object
Modifier and Type | Field and Description |
---|---|
private static ByteBuffAllocator |
ALLOCATOR_FOR_TEST |
private static ThreadPoolExecutor |
INMEMORY_COMPACTION_POOL_FOR_TEST |
private int |
inMemoryPoolSize |
private HRegion |
region |
private RegionServerServices |
rsServices |
Constructor and Description |
---|
RegionServicesForStores(HRegion region,
RegionServerServices rsServices) |
Modifier and Type | Method and Description |
---|---|
void |
addMemStoreSize(long dataSizeDelta,
long heapSizeDelta,
long offHeapSizeDelta,
int cellsCountDelta) |
private static ByteBuffAllocator |
getAllocatorForTest() |
ByteBuffAllocator |
getByteBuffAllocator() |
(package private) ThreadPoolExecutor |
getInMemoryCompactionPool() |
private static ThreadPoolExecutor |
getInMemoryCompactionPoolForTest() |
long |
getMemStoreFlushSize() |
(package private) long |
getMemStoreSize() |
int |
getNumStores() |
RegionInfo |
getRegionInfo() |
WAL |
getWAL() |
private final RegionServerServices rsServices
private int inMemoryPoolSize
private static ByteBuffAllocator ALLOCATOR_FOR_TEST
private static ThreadPoolExecutor INMEMORY_COMPACTION_POOL_FOR_TEST
public RegionServicesForStores(HRegion region, RegionServerServices rsServices)
public void addMemStoreSize(long dataSizeDelta, long heapSizeDelta, long offHeapSizeDelta, int cellsCountDelta)
public RegionInfo getRegionInfo()
private static ByteBuffAllocator getAllocatorForTest()
public ByteBuffAllocator getByteBuffAllocator()
private static ThreadPoolExecutor getInMemoryCompactionPoolForTest()
ThreadPoolExecutor getInMemoryCompactionPool()
public long getMemStoreFlushSize()
public int getNumStores()
long getMemStoreSize()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.