Class HeapMemoryManager.TunerContext
java.lang.Object
org.apache.hadoop.hbase.regionserver.HeapMemoryManager.TunerContext
- Enclosing class:
- HeapMemoryManager
POJO to pass all the relevant information required to do the heap memory tuning. It holds the
flush counts and block cache evictions happened within the interval. Also holds the current
heap percentage allocated for memstore and block cache.
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private long
private float
private float
private float
private float
private long
private boolean
private long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
float
float
float
float
long
long
boolean
void
setBlockedFlushCount
(long blockedFlushCount) void
setCacheMissCount
(long cacheMissCount) void
setCurBlockCacheSize
(float curBlockCacheSize) void
setCurBlockCacheUsed
(float curBlockCacheUsed) void
setCurMemStoreSize
(float curMemStoreSize) void
setCurMemStoreUsed
(float d) void
setEvictCount
(long evictCount) void
setOffheapMemStore
(boolean offheapMemstore) void
setUnblockedFlushCount
(long unblockedFlushCount)
-
Field Details
-
blockedFlushCount
-
unblockedFlushCount
-
evictCount
-
cacheMissCount
-
curBlockCacheUsed
-
curMemStoreUsed
-
curMemStoreSize
-
curBlockCacheSize
-
offheapMemstore
-
-
Constructor Details
-
TunerContext
public TunerContext()
-
-
Method Details
-
getBlockedFlushCount
-
setBlockedFlushCount
-
getUnblockedFlushCount
-
setUnblockedFlushCount
-
getEvictCount
-
setEvictCount
-
getCurMemStoreSize
-
setCurMemStoreSize
-
getCurBlockCacheSize
-
setCurBlockCacheSize
-
getCacheMissCount
-
setCacheMissCount
-
getCurBlockCacheUsed
-
setCurBlockCacheUsed
-
getCurMemStoreUsed
-
setCurMemStoreUsed
-
setOffheapMemStore
-
isOffheapMemStore
-