- All Superinterfaces:
Invocation
Specific method invocation metadata for scheduled task.
-
Method Summary
Modifier and TypeMethodDescriptionlong
delay()
Deprecated, for removal: This API element is subject to removal in a future version.default Duration
delayBy()
Delay the first invocation by the specified time.long
Deprecated, for removal: This API element is subject to removal in a future version.usedelayBy()
insteaddefault Duration
interval()
Interval between two invocations.timeUnit()
Deprecated, for removal: This API element is subject to removal in a future version.use eitherdelayBy()
orinterval()
insteadMethods inherited from interface io.helidon.scheduling.Invocation
description, iteration
-
Method Details
-
delayBy
Delay the first invocation by the specified time.- Returns:
- delay of the first invocation
-
interval
Interval between two invocations.- Returns:
- interval between invocations
-
initialDelay
Deprecated, for removal: This API element is subject to removal in a future version.usedelayBy()
insteadInitial delay before the very first invocation.- Returns:
- delay in units specified by
timeUnit()
-
delay
Deprecated, for removal: This API element is subject to removal in a future version.useinterval()
insteadDelay before next invocation.- Returns:
- delay in units specified by
timeUnit()
-
timeUnit
Deprecated, for removal: This API element is subject to removal in a future version.use eitherdelayBy()
orinterval()
insteadTime unit used for interpretinginitialDelay()
anddelay()
.- Returns:
- used time unit
-
interval()
instead