Class TestHeapMemoryManager.RegionServerAccountingStub
java.lang.Object
org.apache.hadoop.hbase.regionserver.RegionServerAccounting
org.apache.hadoop.hbase.regionserver.TestHeapMemoryManager.RegionServerAccountingStub
- Enclosing class:
- TestHeapMemoryManager
private static class TestHeapMemoryManager.RegionServerAccountingStub
extends org.apache.hadoop.hbase.regionserver.RegionServerAccounting
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRegionServerAccountingStub
(org.apache.hadoop.conf.Configuration conf) RegionServerAccountingStub
(org.apache.hadoop.conf.Configuration conf, boolean offheap) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
boolean
void
setTestMemstoreSize
(long testMemstoreSize) Methods inherited from class org.apache.hadoop.hbase.regionserver.RegionServerAccounting
decGlobalMemStoreSize, getFlushPressure, getGlobalMemStoreLimit, getGlobalMemStoreLimitLowMark, getGlobalMemStoreLimitLowMarkPercent, getGlobalMemStoreOffHeapSize, getGlobalOffHeapMemStoreLimit, getGlobalOnHeapMemStoreLimit, getRetainedRegionRWRequestsCnt, incGlobalMemStoreSize, incGlobalMemStoreSize, isAboveHighWaterMark, isAboveLowWaterMark, setGlobalMemStoreLimits
-
Field Details
-
offheap
boolean offheap -
testMemstoreSize
-
-
Constructor Details
-
RegionServerAccountingStub
-
RegionServerAccountingStub
-
-
Method Details
-
getGlobalMemStoreDataSize
- Overrides:
getGlobalMemStoreDataSize
in classorg.apache.hadoop.hbase.regionserver.RegionServerAccounting
-
getGlobalMemStoreHeapSize
- Overrides:
getGlobalMemStoreHeapSize
in classorg.apache.hadoop.hbase.regionserver.RegionServerAccounting
-
isOffheap
- Overrides:
isOffheap
in classorg.apache.hadoop.hbase.regionserver.RegionServerAccounting
-
setTestMemstoreSize
-