public abstract class BaseFileCleanerDelegate extends BaseConfigurable implements FileCleanerDelegate
| Constructor and Description |
|---|
BaseFileCleanerDelegate() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<FileStatus> |
getDeletableFiles(Iterable<FileStatus> files)
Determines which of the given files are safe to delete
|
protected abstract boolean |
isFileDeletable(FileStatus fStat)
Should the master delete the file or keep it?
|
getConf, setConfpublic Iterable<FileStatus> getDeletableFiles(Iterable<FileStatus> files)
FileCleanerDelegategetDeletableFiles in interface FileCleanerDelegatefiles - files to check for deletionprotected abstract boolean isFileDeletable(FileStatus fStat)
fStat - file status of the file to check