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

@Private public abstract class FlushPolicy extends org.apache.hadoop.conf.Configured
A flush policy determines the stores that need to be flushed when flushing a region.
  • Field Details

    • region

      protected HRegion region
      The region configured for this flush policy.
  • Constructor Details

  • Method Details

    • configureForRegion

      protected void configureForRegion(HRegion region)
      Upon construction, this method will be called with the region to be governed. It will be called once and only once.
    • selectStoresToFlush

      Returns the stores need to be flushed.