public class MetaStoreCompactorThread extends CompactorThread implements MetaStoreThread
TxnStore
to access the internal database.Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected ScheduledExecutorService |
cycleUpdaterExecutorService |
protected TxnStore |
txnHandler |
conf, hostName, LOG, runtimeVersion, stopMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MetaStoreCompactorThread() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(AtomicBoolean stop) |
protected void |
startCycleUpdater(long updateInterval,
Runnable taskToRun) |
protected void |
stopCycleUpdater() |
protected static long |
updateCycleDurationMetric(String metric,
long startedAt) |
createLockRequest, getConf, getRuntimeVersion, initializeAndStartThread, isMinorCompactionSupported, replIsCompactionDisabledForTable, resolvePartition, resolveStorageDescriptor, runJobAsSelf, setConf, tableNameactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstartprotected TxnStore txnHandler
protected ScheduledExecutorService cycleUpdaterExecutorService
public void init(AtomicBoolean stop) throws Exception
init in interface MetaStoreThreadinit in class CompactorThreadExceptionprotected void startCycleUpdater(long updateInterval,
Runnable taskToRun)
protected void stopCycleUpdater()
protected static long updateCycleDurationMetric(String metric, long startedAt)
Copyright © 2022 The Apache Software Foundation. All rights reserved.