@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() |
Pair<Long,Long> |
getExecutorStatus(String poolName) |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNowpublic static final String WAKE_FREQ
public static final int DEFAULT_WAKE_FREQ
public ExecutorStatusChore(int sleepTime,
Stoppable stopper,
ExecutorService service,
MetricsRegionServerSource metrics)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.