@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 |
---|---|
String |
cron |
String |
fixedDelay
A String representation of the
Duration between the time of the last execution and the
beginning of the next. |
String |
fixedRate
A String representation of the
Duration between executions. |
String |
initialDelay
A String representation of the
Duration before starting executions. |
String |
scheduler |
public abstract String cron
public abstract String scheduler
Named
bean that is a
ScheduledExecutorService
to use to schedule the task