public interface MetastoreTaskThread extends org.apache.hadoop.conf.Configurable, Runnable
Modifier and Type | Method and Description |
---|---|
default long |
initialDelay(TimeUnit unit)
Gets the initial delay before the first execution.
|
long |
runFrequency(TimeUnit unit)
Get the frequency at which the thread should be scheduled in the thread pool.
|
long runFrequency(TimeUnit unit)
Configurable.setConf(Configuration)
before calling this method.unit
- TimeUnit to express the frequency in.default long initialDelay(TimeUnit unit)
runFrequency(TimeUnit)
Copyright © 2023 The Apache Software Foundation. All rights reserved.