Class TestMinorCompaction.MyCompactionPolicy

java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.CompactionPolicy
org.apache.hadoop.hbase.regionserver.compactions.SortedCompactionPolicy
org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy
org.apache.hadoop.hbase.regionserver.TestMinorCompaction.MyCompactionPolicy
Enclosing class:
TestMinorCompaction

public static final class TestMinorCompaction.MyCompactionPolicy extends org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy
  • Field Summary

    Fields inherited from class org.apache.hadoop.hbase.regionserver.compactions.CompactionPolicy

    comConf, storeConfigInfo
  • Constructor Summary

    Constructors
    Constructor
    Description
    MyCompactionPolicy(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.StoreConfigInformation storeConfigInfo)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.regionserver.compactions.CompactionRequestImpl
    selectCompaction(Collection<org.apache.hadoop.hbase.regionserver.HStoreFile> candidateFiles, List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting, boolean isUserCompaction, boolean mayUseOffPeak, boolean forceMajor)
     

    Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy

    applyCompactionPolicy, createCompactionRequest, needsCompaction, setMinThreshold, shouldPerformMajorCompaction

    Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.SortedCompactionPolicy

    checkMinFilesCriteria, filterBulk, getCurrentEligibleFiles, getNextMajorCompactTime, preSelectCompactionForCoprocessor, removeExcessFiles, skipLargeFiles, throttleCompaction

    Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.CompactionPolicy

    getConf, setConf

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MyCompactionPolicy

      public MyCompactionPolicy(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.StoreConfigInformation storeConfigInfo)
  • Method Details

    • selectCompaction

      public org.apache.hadoop.hbase.regionserver.compactions.CompactionRequestImpl selectCompaction(Collection<org.apache.hadoop.hbase.regionserver.HStoreFile> candidateFiles, List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting, boolean isUserCompaction, boolean mayUseOffPeak, boolean forceMajor) throws IOException
      Overrides:
      selectCompaction in class org.apache.hadoop.hbase.regionserver.compactions.SortedCompactionPolicy
      Throws:
      IOException