@InterfaceAudience.LimitedPrivate(value="Configuration") public class ReplicationHFileCleaner extends BaseHFileCleanerDelegate
| 构造器和说明 |
|---|
ReplicationHFileCleaner() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
isFileDeletable(org.apache.hadoop.fs.FileStatus fStat)
Should the master delete the file or keep it?
|
boolean |
isStopped() |
void |
setConf(org.apache.hadoop.conf.Configuration config) |
void |
setConf(org.apache.hadoop.conf.Configuration conf,
ZKWatcher zk) |
void |
stop(String why) |
initgetConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreCleanpublic Iterable<org.apache.hadoop.fs.FileStatus> getDeletableFiles(Iterable<org.apache.hadoop.fs.FileStatus> files)
FileCleanerDelegategetDeletableFiles 在接口中 FileCleanerDelegategetDeletableFiles 在类中 BaseFileCleanerDelegatefiles - files to check for deletionpublic void setConf(org.apache.hadoop.conf.Configuration config)
setConf 在接口中 org.apache.hadoop.conf.ConfigurablesetConf 在类中 BaseConfigurablepublic void setConf(org.apache.hadoop.conf.Configuration conf,
ZKWatcher zk)
public void stop(String why)
stop 在接口中 Stoppablestop 在类中 BaseHFileCleanerDelegatepublic boolean isStopped()
isStopped 在接口中 StoppableisStopped 在类中 BaseHFileCleanerDelegatepublic boolean isFileDeletable(org.apache.hadoop.fs.FileStatus fStat)
BaseFileCleanerDelegateisFileDeletable 在类中 BaseFileCleanerDelegatefStat - file status of the file to checkCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.