public class RuntimeStatsCleanerTask extends Object implements MetastoreTaskThread
| Constructor and Description |
|---|
RuntimeStatsCleanerTask() |
| 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 configuration) |
public long runFrequency(TimeUnit unit)
MetastoreTaskThreadConfigurable.setConf(Configuration) before calling this method.runFrequency in interface MetastoreTaskThreadunit - TimeUnit to express the frequency in.public void setConf(org.apache.hadoop.conf.Configuration configuration)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurableCopyright © 2019 The Apache Software Foundation. All Rights Reserved.