-
- All Superinterfaces:
Invocation
public interface FixedRateInvocation extends Invocation
Specific method invocation metadata for scheduled task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longdelay()Delay before next invocation.longinitialDelay()Initial delay before the very first invocation.TimeUnittimeUnit()Time unit used for interpretinginitialDelay()anddelay().-
Methods inherited from interface io.helidon.scheduling.Invocation
description, iteration
-
-
-
-
Method Detail
-
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
-
-