Package org.apache.hadoop.hbase
Class ExecutorStatusChore
java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.ExecutorStatusChore
- All Implemented Interfaces:
Runnable
The Class ExecutorStatusChore for collect Executor status info periodically and report to metrics
system
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private static final org.slf4j.Logger
private DynamicMetricsRegistry
private ExecutorService
static final String
-
Constructor Summary
ConstructorDescriptionExecutorStatusChore
(int sleepTime, Stoppable stopper, ExecutorService service, MetricsRegionServerSource metrics) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.ScheduledChore
cancel, cancel, choreForTesting, cleanup, getChoreService, getInitialDelay, getName, getPeriod, getStopper, getTimeBetweenRuns, getTimeOfLastRun, getTimeOfThisRun, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, setChoreService, shutdown, shutdown, toString, triggerNow
-
Field Details
-
LOG
-
WAKE_FREQ
- See Also:
-
DEFAULT_WAKE_FREQ
- See Also:
-
service
-
metricsRegistry
-
-
Constructor Details
-
ExecutorStatusChore
public ExecutorStatusChore(int sleepTime, Stoppable stopper, ExecutorService service, MetricsRegionServerSource metrics)
-
-
Method Details
-
chore
Description copied from class:ScheduledChore
The task to execute on each scheduled execution of the Chore- Specified by:
chore
in classScheduledChore
-
getExecutorStatus
-