@InterfaceAudience.LimitedPrivate(value="Configuration") public class TimeToLiveHFileCleaner extends BaseHFileCleanerDelegate
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_TTL |
static org.apache.commons.logging.Log |
LOG |
static String |
TTL_CONF_KEY |
| Constructor and Description |
|---|
TimeToLiveHFileCleaner() |
| Modifier and Type | Method and Description |
|---|---|
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, stopgetDeletableFilesgetConfpublic static final org.apache.commons.logging.Log LOG
public 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 BaseFileCleanerDelegatefStat - file status of the file to checkCopyright © 2014 The Apache Software Foundation. All rights reserved.