@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,ANNOTATION_TYPE})
@Executable(processOnStartup=true)
@Repeatable(value=Schedules.class)
@Parallel
public @interface Scheduled
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
cron |
java.lang.String |
fixedDelay
A String representation of the
Duration between the time of the last execution and the
beginning of the next. |
java.lang.String |
fixedRate
A String representation of the
Duration between executions. |
java.lang.String |
initialDelay
A String representation of the
Duration before starting executions. |
java.lang.String |
scheduler |
public abstract java.lang.String fixedDelay
Duration between the time of the last execution and the
beginning of the next. For example 10m == 10 minutespublic abstract java.lang.String initialDelay
Duration before starting executions. For example
10m == 10 minutes