public static class TestChoreService.ScheduledChoreSamples.SleepingChore extends org.apache.hadoop.hbase.ScheduledChore
| Modifier and Type | Field and Description |
|---|---|
private int |
sleepTime |
| Constructor and Description |
|---|
SleepingChore(String name,
int chorePeriod,
int sleepTime) |
SleepingChore(String name,
org.apache.hadoop.hbase.Stoppable stopper,
int period,
int sleepTime) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore() |
protected boolean |
initialChore() |
cancel, cancel, choreForTesting, cleanup, getChoreServicer, getInitialDelay, getName, getPeriod, getStopper, getTimeBetweenRuns, getTimeOfLastRun, getTimeOfThisRun, getTimeUnit, isInitialChoreComplete, isScheduled, run, setChoreServicer, toString, triggerNowprivate int sleepTime
public SleepingChore(String name, int chorePeriod, int sleepTime)
public SleepingChore(String name, org.apache.hadoop.hbase.Stoppable stopper, int period, int sleepTime)
protected boolean initialChore()
initialChore in class org.apache.hadoop.hbase.ScheduledChoreprotected void chore()
chore in class org.apache.hadoop.hbase.ScheduledChoreCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.