Interface Retry.Supplier<T>

Enclosing class:
Retry

public static interface Retry.Supplier<T>
Needed here because: - java.util.function.Supplier defined from Java 8 - Adds some additional info (current iteration)
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int iteration)
    Gets a result.
  • Method Details

    • get

      T get(int iteration)
      Gets a result.
      Returns:
      a result