Class DefaultScheduler

  • All Implemented Interfaces:
    io.dropwizard.lifecycle.Managed, Scheduler

    public class DefaultScheduler
    extends java.lang.Object
    implements Scheduler, io.dropwizard.lifecycle.Managed
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface io.dropwizard.lifecycle.Managed
      • schedule

        @CanIgnoreReturnValue
        public uk.co.ractf.polaris.api.instance.Instance schedule​(uk.co.ractf.polaris.api.task.Task task)
        Specified by:
        schedule in interface Scheduler
      • deschedule

        public void deschedule​(uk.co.ractf.polaris.api.task.Task task)
        Specified by:
        deschedule in interface Scheduler
      • stop

        public void stop()
        Specified by:
        stop in interface io.dropwizard.lifecycle.Managed