@InterfaceAudience.Private public class ExecutorStatusChore extends ScheduledChore
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_WAKE_FREQ |
static String |
WAKE_FREQ |
| Constructor and Description |
|---|
ExecutorStatusChore(int sleepTime,
Stoppable stopper,
ExecutorService service,
MetricsRegionServerSource metrics) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore()
The task to execute on each scheduled execution of the Chore
|
Pair<Long,Long> |
getExecutorStatus(String poolName) |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, toString, triggerNowpublic static final String WAKE_FREQ
public static final int DEFAULT_WAKE_FREQ
public ExecutorStatusChore(int sleepTime,
Stoppable stopper,
ExecutorService service,
MetricsRegionServerSource metrics)
protected void chore()
ScheduledChorechore in class ScheduledChoreCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.