Annotation Interface ScheduleOnce
An annotation for scheduling single task with fixed delay before each task.
-
Optional Element Summary
Optional Elements
-
Element Details
-
delay
long delay- Returns:
- time in
unit()that have to elapse before single task 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:
- ""
-