Package 

Interface PeriodicTask

    • Method Summary

      Modifier and Type Method Description
      abstract boolean shouldRunTask() Indicates whether this task should run as part of the ongoing PeriodicWorkService iterationor not.
      abstract void runTask() Runs only if shouldRunTask returs true.
      abstract boolean isTaskFinished() Indicates whether this task needs to keep running in future iterations or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isTaskFinished

         abstract boolean isTaskFinished()

        Indicates whether this task needs to keep running in future iterations or not.