public class ReplicationMetricsMaintTask extends Object implements MetastoreTaskThread
Constructor and Description |
---|
ReplicationMetricsMaintTask() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
long |
initialDelay(TimeUnit unit)
Gets the initial delay before the first execution.
|
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 initialDelay(TimeUnit unit)
MetastoreTaskThread
MetastoreTaskThread.runFrequency(TimeUnit)
initialDelay
in interface MetastoreTaskThread
public long runFrequency(TimeUnit unit)
MetastoreTaskThread
Configurable.setConf(Configuration)
before calling this method.runFrequency
in interface MetastoreTaskThread
unit
- TimeUnit to express the frequency in.public void setConf(org.apache.hadoop.conf.Configuration configuration)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
Copyright © 2022 The Apache Software Foundation. All rights reserved.