Skip to content

io.helidon.scheduling.FixedRate

Description

Scheduling periodically executed task with specified fixed rate

Configuration options

KeyTypeDefaultDescription
delay-typeDelayTypeSINCE_PREVIOUS_STARTConfigure whether the interval between the invocations should be calculated from the time when previous task started or ended
delay-byDurationPT0SInitial delay of the first invocation
intervalDurationFixed interval between each invocation
idStringIdentification of the started task
enabledBooleantrueWhether the task is enabled

Deprecated Options

KeyTypeDefaultDescription
delayLongFixed rate delay between each invocation
time-unitTimeUnitTimeUnit.SECONDSjava.util.concurrent.TimeUnit TimeUnit used for interpretation of values provided with io.helidon.scheduling.FixedRateConfig.Builder#delay(long) and io.helidon.scheduling.FixedRateConfig.Builder#initialDelay(long)
initial-delayLongInitial delay of the first invocation

See the manifest for all available types.