Interface TimeScheduler.Task

  • All Superinterfaces:
    java.lang.Runnable
    Enclosing class:
    TimeScheduler

    public static interface TimeScheduler.Task
    extends java.lang.Runnable
    The interface that submitted tasks must implement
    • Method Detail

      • nextInterval

        long nextInterval()
        Returns:
        the next schedule interval. If <= 0 the task will not be re-scheduled