Class RegionServicesForStores
java.lang.Object
org.apache.hadoop.hbase.regionserver.RegionServicesForStores
Services a Store needs from a Region. RegionServicesForStores class is the interface through
which memstore access services at the region level. For example, when using alternative memory
formats or due to compaction the memstore needs to take occasional lock and update size counters
at the region level.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static ByteBuffAllocator
private static ThreadPoolExecutor
private int
private final HRegion
private final RegionServerServices
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMemStoreSize
(long dataSizeDelta, long heapSizeDelta, long offHeapSizeDelta, int cellsCountDelta) private static ByteBuffAllocator
(package private) ThreadPoolExecutor
private static ThreadPoolExecutor
long
(package private) long
int
getWAL()
-
Field Details
-
region
-
rsServices
-
inMemoryPoolSize
-
ALLOCATOR_FOR_TEST
-
INMEMORY_COMPACTION_POOL_FOR_TEST
-
-
Constructor Details
-
RegionServicesForStores
-
-
Method Details
-
addMemStoreSize
public void addMemStoreSize(long dataSizeDelta, long heapSizeDelta, long offHeapSizeDelta, int cellsCountDelta) -
getRegionInfo
-
getWAL
-
getAllocatorForTest
-
getByteBuffAllocator
-
getInMemoryCompactionPoolForTest
-
getInMemoryCompactionPool
-
getMemStoreFlushSize
-
getNumStores
-
getMemStoreSize
long getMemStoreSize()
-