Annotation Interface Scheduled


An annotation for scheduling a re-occurring task.
Since:
1.0
Author:
graemerocher
  • Element Details

    • cron

      String cron
      Returns:
      The CRON expression
      Default:
      ""
    • zoneId

      String zoneId
      A String representation of the ZoneId to base our cron expression on. Defaults to ZoneId.systemDefault()
      Returns:
      The ZoneId to base the cron expression on
      Default:
      ""
    • fixedDelay

      String fixedDelay
      A String representation of the Duration between the time of the last execution and the beginning of the next. For example 10m == 10 minutes
      Returns:
      The fixed delay
      Default:
      ""
    • initialDelay

      String initialDelay
      A String representation of the Duration before starting executions. For example 10m == 10 minutes
      Returns:
      The fixed delay
      Default:
      ""
    • fixedRate

      String fixedRate
      A String representation of the Duration between executions. For example 10m == 10 minutes
      Returns:
      The fixed rate
      Default:
      ""
    • scheduler

      String scheduler
      Returns:
      The name of a Named bean that is a ScheduledExecutorService to use to schedule the task
      Default:
      "scheduled"