Class TestCleanerChore.AllValidPaths

java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.master.cleaner.CleanerChore<org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate>
org.apache.hadoop.hbase.master.cleaner.TestCleanerChore.AllValidPaths
All Implemented Interfaces:
Runnable
Enclosing class:
TestCleanerChore

private static class TestCleanerChore.AllValidPaths extends org.apache.hadoop.hbase.master.cleaner.CleanerChore<org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate>
  • Field Summary

    Fields inherited from class org.apache.hadoop.hbase.master.cleaner.CleanerChore

    CHORE_POOL_SIZE, cleanersChain, DEFAULT_CHORE_POOL_SIZE, DEFAULT_LOG_CLEANER_CHORE_DIRECTORY_SORTING, DEFAULT_LOG_CLEANER_CHORE_POOL_SIZE, excludeDirs, fs, LOG_CLEANER_CHORE_DIRECTORY_SORTING, LOG_CLEANER_CHORE_SIZE, params
  • Constructor Summary

    Constructors
    Constructor
    Description
    AllValidPaths(String name, org.apache.hadoop.hbase.Stoppable s, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path oldFileDir, String confkey, org.apache.hadoop.hbase.master.cleaner.DirScanPool pool)
     
    AllValidPaths(String name, org.apache.hadoop.hbase.Stoppable s, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path oldFileDir, String confkey, org.apache.hadoop.hbase.master.cleaner.DirScanPool pool, Map<String,Object> params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    validate(org.apache.hadoop.fs.Path file)
     

    Methods inherited from class org.apache.hadoop.hbase.master.cleaner.CleanerChore

    calculatePoolSize, chore, cleanup, deleteFiles, getChorePoolSize, getEnabled, initialChore, setEnabled, triggerCleanerNow

    Methods inherited from class org.apache.hadoop.hbase.ScheduledChore

    cancel, cancel, choreForTesting, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNow

    Methods inherited from class java.lang.Object

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

    • AllValidPaths

      public AllValidPaths(String name, org.apache.hadoop.hbase.Stoppable s, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path oldFileDir, String confkey, org.apache.hadoop.hbase.master.cleaner.DirScanPool pool)
    • AllValidPaths

      public AllValidPaths(String name, org.apache.hadoop.hbase.Stoppable s, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path oldFileDir, String confkey, org.apache.hadoop.hbase.master.cleaner.DirScanPool pool, Map<String,Object> params)
  • Method Details

    • validate

      protected boolean validate(org.apache.hadoop.fs.Path file)
      Specified by:
      validate in class org.apache.hadoop.hbase.master.cleaner.CleanerChore<org.apache.hadoop.hbase.master.cleaner.BaseHFileCleanerDelegate>