@InterfaceStability.Evolving @InterfaceAudience.LimitedPrivate(value="Configuration") public class BackupLogCleaner extends BaseLogCleanerDelegate
| Constructor and Description | 
|---|
BackupLogCleaner()  | 
| Modifier and Type | Method and Description | 
|---|---|
Iterable<FileStatus> | 
getDeletableFiles(Iterable<FileStatus> files)
Determines which of the given files are safe to delete 
 | 
boolean | 
isStopped()  | 
void | 
setConf(Configuration config)  | 
void | 
stop(String why)
Stop this service. 
 | 
isFileDeletable, isLogDeletablegetConfpublic Iterable<FileStatus> getDeletableFiles(Iterable<FileStatus> files)
FileCleanerDelegategetDeletableFiles in interface FileCleanerDelegategetDeletableFiles in class BaseFileCleanerDelegatefiles - files to check for deletionpublic void setConf(Configuration config)
setConf in class BaseConfigurablepublic void stop(String why)
Stoppablewhy - Why we're stopping.public boolean isStopped()
Stoppable.stop(String) has been closed.