@InterfaceAudience.LimitedPrivate(value="Configuration") public class TimeToLiveProcedureWALCleaner extends BaseLogCleanerDelegate
| 限定符和类型 | 字段和说明 |
|---|---|
static long |
DEFAULT_TTL |
static String |
TTL_CONF_KEY |
| 构造器和说明 |
|---|
TimeToLiveProcedureWALCleaner() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 conf) |
void |
stop(String why) |
getDeletableFiles, initgetConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreCleanpublic static final long DEFAULT_TTL
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf 在接口中 org.apache.hadoop.conf.ConfigurablesetConf 在类中 BaseConfigurablepublic boolean isFileDeletable(org.apache.hadoop.fs.FileStatus fStat)
BaseFileCleanerDelegateisFileDeletable 在类中 BaseLogCleanerDelegatefStat - file status of the file to checkpublic void stop(String why)
public boolean isStopped()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.