Annotation Interface DefaultSchedule


@Documented @Target(TYPE) @Retention(RUNTIME) @Inherited public @interface DefaultSchedule

Marker interface that a Processor can use to configure default settings for the schedule strategy, the period and the number of concurrent tasks. Marker interface that a ReportingTask can use to configure default settings the schedule strategy and the period. Note that the number of Concurrent tasks will be ignored if the annotation @TriggerSerialy is used

  • Element Details

    • strategy

      Default:
      TIMER_DRIVEN
    • period

      String period
      Default:
      "0 sec"
    • concurrentTasks

      int concurrentTasks
      Default:
      1