@InterfaceAudience.Private public class RegionServicesForStores extends Object
Modifier and Type | Field and Description |
---|---|
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) |
void |
blockUpdates() |
(package private) ThreadPoolExecutor |
getInMemoryCompactionPool() |
private static ThreadPoolExecutor |
getInMemoryCompactionPoolForTest() |
long |
getMemStoreFlushSize() |
(package private) long |
getMemStoreSize() |
int |
getNumStores() |
RegionInfo |
getRegionInfo() |
WAL |
getWAL() |
void |
unblockUpdates() |
private final RegionServerServices rsServices
private int inMemoryPoolSize
private static ThreadPoolExecutor INMEMORY_COMPACTION_POOL_FOR_TEST
public RegionServicesForStores(HRegion region, RegionServerServices rsServices)
public void blockUpdates()
public void unblockUpdates()
public void addMemStoreSize(long dataSizeDelta, long heapSizeDelta, long offHeapSizeDelta, int cellsCountDelta)
public RegionInfo getRegionInfo()
private static ThreadPoolExecutor getInMemoryCompactionPoolForTest()
ThreadPoolExecutor getInMemoryCompactionPool()
public long getMemStoreFlushSize()
public int getNumStores()
long getMemStoreSize()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.