@InterfaceAudience.LimitedPrivate(value="Configuration") public class ReplicationLogCleaner extends BaseLogCleanerDelegate implements Abortable
| Constructor and Description |
|---|
ReplicationLogCleaner() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(String why,
Throwable e) |
Iterable<org.apache.hadoop.fs.FileStatus> |
getDeletableFiles(Iterable<org.apache.hadoop.fs.FileStatus> files)
Determines which of the given files are safe to delete
|
boolean |
isAborted() |
boolean |
isStopped() |
void |
setConf(org.apache.hadoop.conf.Configuration config) |
void |
stop(String why) |
isFileDeletable, isLogDeletablegetConfpublic Iterable<org.apache.hadoop.fs.FileStatus> getDeletableFiles(Iterable<org.apache.hadoop.fs.FileStatus> files)
FileCleanerDelegategetDeletableFiles in interface FileCleanerDelegategetDeletableFiles in class BaseFileCleanerDelegatefiles - files to check for deletionpublic void setConf(org.apache.hadoop.conf.Configuration config)
setConf in interface org.apache.hadoop.conf.ConfigurablesetConf in class BaseConfigurableCopyright © 2015 The Apache Software Foundation. All Rights Reserved.