Class FlushPolicy
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.regionserver.FlushPolicy
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable
- Direct Known Subclasses:
- FlushAllStoresPolicy,- FlushLargeStoresPolicy
A flush policy determines the stores that need to be flushed when flushing a region.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidconfigureForRegion(HRegion region) Upon construction, this method will be called with the region to be governed.abstract Collection<HStore>Returns the stores need to be flushed.Methods inherited from class org.apache.hadoop.conf.ConfiguredgetConf, setConf
- 
Field Details- 
regionThe region configured for this flush policy.
 
- 
- 
Constructor Details- 
FlushPolicypublic FlushPolicy()
 
- 
- 
Method Details- 
configureForRegionUpon construction, this method will be called with the region to be governed. It will be called once and only once.
- 
selectStoresToFlushReturns the stores need to be flushed.
 
-