Annotation Type Scheduled
-
@Documented @Retention(RUNTIME) @Target({METHOD,ANNOTATION_TYPE}) @Executable(processOnStartup=true) @Repeatable(Schedules.class) @Parallel public @interface Scheduled
An annotation for scheduling a re-occurring task.- Since:
- 1.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
cron
java.lang.String
fixedDelay
A String representation of theDuration
between the time of the last execution and the beginning of the next.java.lang.String
fixedRate
A String representation of theDuration
between executions.java.lang.String
initialDelay
A String representation of theDuration
before starting executions.java.lang.String
scheduler
java.lang.String
zoneId
A String representation of theZoneId
to base our cron expression on.
-