@InterfaceAudience.LimitedPrivate(value="Configuration") public class TimeToLiveProcedureWALCleaner extends BaseLogCleanerDelegate
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_TTL |
static String |
TTL_CONF_KEY |
| Constructor and Description |
|---|
TimeToLiveProcedureWALCleaner() |
| Modifier and Type | Method and Description |
|---|---|
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 String TTL_CONF_KEY
public static final long DEFAULT_TTL
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurablesetConf in class BaseConfigurablepublic boolean isFileDeletable(org.apache.hadoop.fs.FileStatus fStat)
BaseFileCleanerDelegateisFileDeletable in class BaseLogCleanerDelegatefStat - file status of the file to checkpublic void stop(String why)
public boolean isStopped()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.