Interface BackOff.Execution

Enclosing interface:
BackOff
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface BackOff.Execution
Encapsulates back off execution state.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Yields the number of milliseconds to back off.
  • Method Details

    • next

      long next()
      Yields the number of milliseconds to back off.
      Returns:
      number of milliseconds to back off, or -1L if back off is exhausted