Class TestCompaction.StoreMockMaker.TestCompactionContext

java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
org.apache.hadoop.hbase.regionserver.TestCompaction.StoreMockMaker.TestCompactionContext
Enclosing class:
TestCompaction.StoreMockMaker

public class TestCompaction.StoreMockMaker.TestCompactionContext extends org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private List<org.apache.hadoop.hbase.regionserver.HStoreFile>
     

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

    request
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestCompactionContext(List<org.apache.hadoop.hbase.regionserver.HStoreFile> selectedFiles)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.fs.Path>
    compact(org.apache.hadoop.hbase.regionserver.throttle.ThroughputController throughputController, org.apache.hadoop.hbase.security.User user)
     
    List<org.apache.hadoop.hbase.regionserver.HStoreFile>
    preSelect(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting)
     
    boolean
    select(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting, boolean isUserCompaction, boolean mayUseOffPeak, boolean forceMajor)
     

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

    forceSelect, getRequest, hasSelection

    Methods inherited from class java.lang.Object

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

    • selectedFiles

      private List<org.apache.hadoop.hbase.regionserver.HStoreFile> selectedFiles
  • Constructor Details

  • Method Details

    • preSelect

      public List<org.apache.hadoop.hbase.regionserver.HStoreFile> preSelect(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting)
      Specified by:
      preSelect in class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
    • select

      public boolean select(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting, boolean isUserCompaction, boolean mayUseOffPeak, boolean forceMajor) throws IOException
      Specified by:
      select in class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
      Throws:
      IOException
    • compact

      public List<org.apache.hadoop.fs.Path> compact(org.apache.hadoop.hbase.regionserver.throttle.ThroughputController throughputController, org.apache.hadoop.hbase.security.User user) throws IOException
      Specified by:
      compact in class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
      Throws:
      IOException