Interface DelayStrategy

All Known Implementing Classes:
FixedDelay

public interface DelayStrategy
A strategy for computing a delay.
Since:
1.1.0
Author:
Carl Harris
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The value computed by this DelayStrategy for the next delay.
  • Method Details

    • nextDelay

      long nextDelay()
      The value computed by this DelayStrategy for the next delay.
      Returns:
      a delay value