Module io.helidon.scheduling
Package io.helidon.scheduling
Annotation Interface Scheduling.FixedRate
- Enclosing class:
Scheduling
Scheduled to be invoked periodically at fixed rate. Fixed rate tasks are never invoked concurrently.
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionInitial delay of the first invocation.Whether the interval should be calculated from the start or end of the previous task.
-
Element Details
-
value
String valueFixed interval for periodical invocation. The value is parsed usingDuration.parse(CharSequence)
.Examples:
PT0.1S
- 0.1 secondsPT10M
- 10 minutes
- Returns:
- fixed rate interval in
Duration
format
-
delayBy
String delayByInitial delay of the first invocation. UsesDuration
format.- Returns:
- initial delay
- See Also:
- Default:
"PT0S"
-
delayType
FixedRate.DelayType delayTypeWhether the interval should be calculated from the start or end of the previous task.- Returns:
- delay type
- Default:
SINCE_PREVIOUS_START
-