Interface FixedRateInvocation

All Superinterfaces:
Invocation

public interface FixedRateInvocation extends Invocation
Specific method invocation metadata for scheduled task.
  • 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 interpreting initialDelay() and delay().
      Returns:
      used time unit