Package org.apache.hadoop.hbase
Class TestChoreService.SleepingChore
java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.TestChoreService.SleepingChore
- All Implemented Interfaces:
Runnable
- Enclosing class:
- TestChoreService
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSleepingChore
(String name, int chorePeriod, int sleepTime) SleepingChore
(String name, org.apache.hadoop.hbase.Stoppable stopper, int period, int sleepTime) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.ScheduledChore
cancel, cancel, choreForTesting, cleanup, getChoreService, getInitialDelay, getName, getPeriod, getStopper, getTimeBetweenRuns, getTimeOfLastRun, getTimeOfThisRun, getTimeUnit, isInitialChoreComplete, isScheduled, run, setChoreService, shutdown, shutdown, toString, triggerNow
-
Field Details
-
sleepTime
-
-
Constructor Details
-
SleepingChore
-
SleepingChore
public SleepingChore(String name, org.apache.hadoop.hbase.Stoppable stopper, int period, int sleepTime)
-
-
Method Details
-
initialChore
- Overrides:
initialChore
in classorg.apache.hadoop.hbase.ScheduledChore
-
chore
- Specified by:
chore
in classorg.apache.hadoop.hbase.ScheduledChore
-