Interface TimeScheduler.Task

All Superinterfaces:
Runnable
Enclosing class:
TimeScheduler

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

    Modifier and Type
    Method
    Description
    long
     

    Methods inherited from interface java.lang.Runnable

    run
  • Method Details

    • nextInterval

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