@InterfaceAudience.Private public class SlowLogTableOpsChore extends ScheduledChore
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
private SlowLogRecorder |
slowLogRecorder |
| Constructor and Description |
|---|
SlowLogTableOpsChore(Stoppable stopper,
int period,
SlowLogRecorder slowLogRecorder)
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, toString, triggerNowprivate static final org.slf4j.Logger LOG
private final SlowLogRecorder slowLogRecorder
public SlowLogTableOpsChore(Stoppable stopper, int period, SlowLogRecorder slowLogRecorder)
stopper - The stopper - When Stoppable.isStopped() is true, this chore will
cancel and cleanupperiod - Period in millis with which this Chore repeats execution when scheduledslowLogRecorder - SlowLogRecorder instanceprotected void chore()
ScheduledChorechore in class ScheduledChoreCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.