@InterfaceAudience.Private public interface FileCleanerDelegate extends org.apache.hadoop.conf.Configurable, Stoppable
CleanerChore to determine
 if a given file should be deleted.| Modifier and Type | Method and Description | 
|---|---|
| Iterable<org.apache.hadoop.fs.FileStatus> | getDeletableFiles(Iterable<org.apache.hadoop.fs.FileStatus> files)Determines which of the given files are safe to delete | 
| void | init(Map<String,Object> params)this method is used to pass some instance into subclass | 
| default void | preClean()Used to do some initialize work before every period clean | 
Iterable<org.apache.hadoop.fs.FileStatus> getDeletableFiles(Iterable<org.apache.hadoop.fs.FileStatus> files)
files - files to check for deletiondefault void preClean()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.