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
FieldsModifier and TypeFieldDescriptionprivate static ByteBuffAllocatorprivate static ThreadPoolExecutorprivate intprivate final HRegionprivate final RegionServerServices -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemStoreSize(long dataSizeDelta, long heapSizeDelta, long offHeapSizeDelta, int cellsCountDelta) private static ByteBuffAllocator(package private) ThreadPoolExecutorprivate static ThreadPoolExecutorlong(package private) longintgetWAL()
-
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()
-