private static class TestChoreService.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, getChoreService, getInitialDelay, getName, getPeriod, getStopper, getTimeBetweenRuns, getTimeOfLastRun, getTimeOfThisRun, getTimeUnit, isInitialChoreComplete, isScheduled, run, setChoreService, shutdown, shutdown, toString, triggerNow
private 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.ScheduledChore
protected void chore()
chore
in class org.apache.hadoop.hbase.ScheduledChore
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.