@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, stop
getDeletableFiles, init
getConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmptyDirDeletable, preClean
public 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 BaseTimeToLiveFileCleaner
protected boolean valiateFilename(org.apache.hadoop.fs.Path file)
valiateFilename
in class BaseTimeToLiveFileCleaner
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.