Configuration options
| key | type | default value | description |
|---|---|---|---|
|
long |
|
Deprecated Fixed rate delay between each invocation. Time unit is by default java.util.concurrent.TimeUnit.SECONDS, can be specified with io.helidon.scheduling.FixedRateConfig.Builder.timeUnit(java.util.concurrent.TimeUnit). @deprecated use io.helidon.scheduling.FixedRateConfig.interval() instead |
|
long |
|
Deprecated Initial delay of the first invocation. Time unit is by default java.util.concurrent.TimeUnit.SECONDS, can be specified with io.helidon.scheduling.FixedRateConfig.Builder.timeUnit(java.util.concurrent.TimeUnit) timeUnit(). @deprecated use io.helidon.scheduling.FixedRateConfig.delayBy() instead |
|
Duration |
|
Fixed interval between each invocation. |
| key | type | default value | description |
|---|---|---|---|
|
Duration |
|
Initial delay of the first invocation. |
|
DelayType (SINCE_PREVIOUS_START, SINCE_PREVIOUS_END) |
|
Configure whether the interval between the invocations should be calculated from the time when previous task started or ended. Delay type is by default FixedRate.DelayType.SINCE_PREVIOUS_START. Allowed values:
|
|
string |
|
Identification of the started task. This can be used to later look up the instance, for example to cancel it. |
|
TimeUnit (NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS) |
|
Deprecated 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). @deprecated as duration is used for new options, this option is not needed |