public class AcidOpenTxnsCounterService extends Object implements MetastoreTaskThread
Constructor and Description |
---|
AcidOpenTxnsCounterService() |
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)
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.