@InterfaceAudience.LimitedPrivate(value="Configuration") public class TimeToLiveHFileCleaner extends BaseHFileCleanerDelegate
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_TTL |
static Log |
LOG |
static String |
TTL_CONF_KEY |
| Constructor and Description |
|---|
TimeToLiveHFileCleaner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFileDeletable(FileStatus fStat)
Should the master delete the file or keep it?
|
void |
setConf(Configuration conf) |
isStopped, stopgetDeletableFilesgetConfpublic static final Log LOG
public static final String TTL_CONF_KEY
public static final long DEFAULT_TTL
public void setConf(Configuration conf)
setConf in class BaseConfigurablepublic boolean isFileDeletable(FileStatus fStat)
BaseFileCleanerDelegateisFileDeletable in class BaseFileCleanerDelegatefStat - file status of the file to check