Interface Retry.ThrowableCallback

Enclosing class:
Retry

public static interface Retry.ThrowableCallback
Needed here because: - java.util.function.BiConsumer defined from Java 8 - Adds some additional info (current iteration and called throwable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleThrowable(int iteration, Throwable t)
     
  • Method Details

    • handleThrowable

      void handleThrowable(int iteration, Throwable t)