Class HeapMemoryManager.HeapMemoryTunerChore
java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.regionserver.HeapMemoryManager.HeapMemoryTunerChore
- All Implemented Interfaces:
- Runnable,- FlushRequestListener
- Enclosing class:
- HeapMemoryManager
private class HeapMemoryManager.HeapMemoryTunerChore
extends ScheduledChore
implements FlushRequestListener
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate booleanprivate AtomicLongprivate longprivate longprivate HeapMemoryTunerprivate HeapMemoryManager.TunerContextprivate AtomicLong
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidchore()The task to execute on each scheduled execution of the ChorevoidflushRequested(FlushType type, Region region) Callback which will get called when a flush request is made for a region.private voidtune()Methods inherited from class org.apache.hadoop.hbase.ScheduledChorecancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNow
- 
Field Details- 
heapMemTuner
- 
blockedFlushCount
- 
unblockedFlushCount
- 
evictCount
- 
cacheMissCount
- 
tunerContext
- 
alarming
 
- 
- 
Constructor Details- 
HeapMemoryTunerChorepublic HeapMemoryTunerChore()
 
- 
- 
Method Details- 
choreDescription copied from class:ScheduledChoreThe task to execute on each scheduled execution of the Chore- Specified by:
- chorein class- ScheduledChore
 
- 
tune
- 
flushRequestedDescription copied from interface:FlushRequestListenerCallback which will get called when a flush request is made for a region.- Specified by:
- flushRequestedin interface- FlushRequestListener
- Parameters:
- type- The type of flush. (ie. Whether a normal flush or flush because of global heap preassure)
- region- The region for which flush is requested
 
 
-