@InterfaceAudience.LimitedPrivate(value="Configuration") public class TimeToLiveHFileCleaner extends BaseHFileCleanerDelegate
限定符和类型 | 字段和说明 |
---|---|
static long |
DEFAULT_TTL |
static String |
TTL_CONF_KEY |
构造器和说明 |
---|
TimeToLiveHFileCleaner() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
isFileDeletable(org.apache.hadoop.fs.FileStatus fStat)
Should the master delete the file or keep it?
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
isStopped, stop
getDeletableFiles, init
getConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
preClean
public static final long DEFAULT_TTL
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
在接口中 org.apache.hadoop.conf.Configurable
setConf
在类中 BaseConfigurable
public boolean isFileDeletable(org.apache.hadoop.fs.FileStatus fStat)
BaseFileCleanerDelegate
isFileDeletable
在类中 BaseFileCleanerDelegate
fStat
- file status of the file to checkCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.