Class ManualScheduler

java.lang.Object
com.github.kagkarlsson.scheduler.Scheduler
com.github.kagkarlsson.scheduler.testhelper.ManualScheduler
All Implemented Interfaces:
SchedulerClient

public class ManualScheduler extends Scheduler
  • Method Details

    • getClock

      public SettableClock getClock()
    • tick

      public void tick(Duration moveClockForward)
    • setTime

      public void setTime(Instant newtime)
    • runAnyDueExecutions

      public void runAnyDueExecutions()
    • runDeadExecutionDetection

      public void runDeadExecutionDetection()
    • start

      public void start()
      Overrides:
      start in class Scheduler