Class TestChoreService.SleepingChore

java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.TestChoreService.SleepingChore
All Implemented Interfaces:
Runnable
Enclosing class:
TestChoreService

private static class TestChoreService.SleepingChore extends org.apache.hadoop.hbase.ScheduledChore
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SleepingChore(String name, int chorePeriod, int sleepTime)
     
    SleepingChore(String name, org.apache.hadoop.hbase.Stoppable stopper, int period, int sleepTime)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected boolean
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • SleepingChore

      public SleepingChore(String name, int chorePeriod, int sleepTime)
    • SleepingChore

      public SleepingChore(String name, org.apache.hadoop.hbase.Stoppable stopper, int period, int sleepTime)
  • Method Details

    • initialChore

      protected boolean initialChore()
      Overrides:
      initialChore in class org.apache.hadoop.hbase.ScheduledChore
    • chore

      protected void chore()
      Specified by:
      chore in class org.apache.hadoop.hbase.ScheduledChore