@InterfaceAudience.Private public class SlowLogTableOpsChore extends ScheduledChore
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
private NamedQueueRecorder |
namedQueueRecorder |
| Constructor and Description |
|---|
SlowLogTableOpsChore(Stoppable stopper,
int period,
NamedQueueRecorder namedQueueRecorder)
Chore Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore()
The task to execute on each scheduled execution of the Chore
|
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNowprivate static final org.slf4j.Logger LOG
private final NamedQueueRecorder namedQueueRecorder
public SlowLogTableOpsChore(Stoppable stopper, int period, NamedQueueRecorder namedQueueRecorder)
stopper - The stopper - When Stoppable.isStopped() is true, this chore
will cancel and cleanupperiod - Period in millis with which this Chore repeats execution when
schedulednamedQueueRecorder - NamedQueueRecorder instanceprotected void chore()
ScheduledChorechore in class ScheduledChoreCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.