Annotation Interface Scheduled


@Target(METHOD) @Retention(RUNTIME) public @interface Scheduled
Since:
8/19/2021
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    long
     
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • period

      long period
      Returns:
      period between calls
    • timeUnit

      TimeUnit timeUnit
      Returns:
      period and delay time unit
    • runAfterServerStart

      boolean runAfterServerStart
      Returns:
      true if need call task after server start before general task schedule, false otherwise
      Default:
      false