Interface CronEntry


public interface CronEntry
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Remove task from cron
    java.time.Instant
    Retrieve last execution time
    java.time.Instant
    Retrieve the next execution time
  • Method Details

    • cancel

      void cancel()
      Remove task from cron
    • lastExecutionTime

      java.time.Instant lastExecutionTime()
      Retrieve last execution time
      Returns:
      last exution time -
      null
      if the task was not executed yet.
    • nextExecutionTime

      java.time.Instant nextExecutionTime()
      Retrieve the next execution time
      Returns:
      next execution time -
      null
      if the task will not execute again.