public class HiveProtoEventsCleanerTask extends Object implements MetastoreTaskThread
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
HiveProtoEventsCleanerTask() |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialDelay
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 © 2022 The Apache Software Foundation. All rights reserved.