Annotation Interface ScheduleWithFixedDelay
An annotation for scheduling a re-occurring task with fixed delay between each task.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionlonglong
-
Element Details
-
initialDelay
long initialDelay- Returns:
- initial delay in
unit()before scheduling is started
- Default:
- 0L
-
delay
long delay- Returns:
- time in
unit()that have to elapse before next tasks will be scheduled
- Default:
- 0L
-
unit
ChronoUnit unit- Returns:
- unit to use for
delay()interpretation
- Default:
- MILLIS
-
config
String config- Returns:
- path for configuration to apply options (config > annotation options in priority)
- Default:
- ""
-