public class DumpDirCleanerTask extends Object implements MetastoreTaskThread
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
DumpDirCleanerTask() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
void |
run() |
long |
runFrequency(TimeUnit unit)
Get the frequency at which the thread should be scheduled in the thread pool.
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public long runFrequency(TimeUnit unit)
MetastoreTaskThread
Configurable.setConf(Configuration)
before calling this method.runFrequency
in interface MetastoreTaskThread
unit
- TimeUnit to express the frequency in.Copyright © 2019 The Apache Software Foundation. All rights reserved.