Class TimerScheduler

  • All Implemented Interfaces:
    java.lang.Runnable, LifeCycle, Scheduler

    @Deprecated(since="2021-05-27")
    public class TimerScheduler
    extends AbstractLifeCycle
    implements Scheduler, java.lang.Runnable
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    A scheduler based on the the JVM Timer class
    • Constructor Detail

      • TimerScheduler

        public TimerScheduler()
        Deprecated.
      • TimerScheduler

        public TimerScheduler​(java.lang.String name,
                              boolean daemon)
        Deprecated.
    • Method Detail

      • schedule

        public Scheduler.Task schedule​(java.lang.Runnable task,
                                       long delay,
                                       java.util.concurrent.TimeUnit units)
        Deprecated.
        Specified by:
        schedule in interface Scheduler
      • run

        public void run()
        Deprecated.
        Specified by:
        run in interface java.lang.Runnable