public static class TestChoreService.ScheduledChoreSamples.SlowChore extends ScheduledChore
| Constructor and Description |
|---|
SlowChore(java.lang.String name,
int period) |
SlowChore(java.lang.String name,
Stoppable stopper,
int period) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore()
The task to execute on each scheduled execution of the Chore
|
protected boolean |
initialChore()
Override to run a task before we start looping.
|
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, isInitialChoreComplete, isScheduled, run, toString, triggerNowpublic SlowChore(java.lang.String name,
int period)
public SlowChore(java.lang.String name,
Stoppable stopper,
int period)
protected boolean initialChore()
ScheduledChoreinitialChore in class ScheduledChoreprotected void chore()
ScheduledChorechore in class ScheduledChore