@InterfaceAudience.LimitedPrivate(value="Configuration") public class TimeToLiveLogCleaner extends BaseTimeToLiveFileCleaner
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_TTL |
static String |
TTL_CONF_KEY |
| Constructor and Description |
|---|
TimeToLiveLogCleaner() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
getTtlMs(org.apache.hadoop.conf.Configuration conf) |
protected boolean |
valiateFilename(org.apache.hadoop.fs.Path file) |
isFileDeletable, isStopped, setConf, stopgetDeletableFiles, initgetConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptyDirDeletable, preCleanpublic static final String TTL_CONF_KEY
public static final long DEFAULT_TTL
public TimeToLiveLogCleaner()
protected long getTtlMs(org.apache.hadoop.conf.Configuration conf)
getTtlMs in class BaseTimeToLiveFileCleanerprotected boolean valiateFilename(org.apache.hadoop.fs.Path file)
valiateFilename in class BaseTimeToLiveFileCleanerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.