io.helidon.scheduling.FixedRate
Description
Scheduling periodically executed task with specified fixed rate
Configuration options
| Key | Type | Default | Description |
|---|---|---|---|
delay-type | DelayType | SINCE_PREVIOUS_START | Configure whether the interval between the invocations should be calculated from the time when previous task started or ended |
delay-by | Duration | PT0S | Initial delay of the first invocation |
interval | Duration | Fixed interval between each invocation | |
id | String | Identification of the started task | |
enabled | Boolean | true | Whether the task is enabled |
Deprecated Options
| Key | Type | Default | Description |
|---|---|---|---|
delay | Long | Fixed rate delay between each invocation | |
time-unit | TimeUnit | TimeUnit.SECONDS | java.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-delay | Long | Initial delay of the first invocation |
See the manifest for all available types.