public static class TestChoreService.ScheduledChoreSamples.SleepingChore extends ScheduledChore
| Constructor and Description |
|---|
SleepingChore(String name,
int chorePeriod,
int sleepTime) |
SleepingChore(String name,
Stoppable stopper,
int period,
int sleepTime) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore() |
protected boolean |
initialChore() |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, isInitialChoreComplete, isScheduled, run, toString, triggerNowpublic SleepingChore(String name, int chorePeriod, int sleepTime)
public SleepingChore(String name, Stoppable stopper, int period, int sleepTime)
protected boolean initialChore()
initialChore in class ScheduledChoreprotected void chore()
chore in class ScheduledChoreCopyright © 2007–2019 Cloudera. All rights reserved.