Interface FixedRateInvocation

All Superinterfaces:
Invocation

public interface FixedRateInvocation extends Invocation
Specific method invocation metadata for scheduled task.
  • Method Summary

    Modifier and Type
    Method
    Description
    Delay the first invocation by the specified time.
    Interval between two invocations.

    Methods inherited from interface Invocation

    description, iteration
    Modifier and Type
    Method
    Description
    Human readable description of the scheduled interval.
    long
    How many times has been scheduled method invoked yet.
  • Method Details

    • delayBy

      Duration delayBy()
      Delay the first invocation by the specified time.
      Returns:
      delay of the first invocation
    • interval

      Duration interval()
      Interval between two invocations.
      Returns:
      interval between invocations