- All Superinterfaces:
Invocation
Specific method invocation metadata for scheduled task.
-
Method Summary
Modifier and TypeMethodDescriptionlong
delay()
Delay before next invocation.long
Initial delay before the very first invocation.timeUnit()
Time unit used for interpretinginitialDelay()
anddelay()
.Methods inherited from interface io.helidon.scheduling.Invocation
description, iteration
-
Method Details
-
initialDelay
long initialDelay()Initial delay before the very first invocation.- Returns:
- delay in units specified by
timeUnit()
-
delay
long delay()Delay before next invocation.- Returns:
- delay in units specified by
timeUnit()
-
timeUnit
TimeUnit timeUnit()Time unit used for interpretinginitialDelay()
anddelay()
.- Returns:
- used time unit
-