Interface RetryEventEmitter

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

@Internal @FunctionalInterface public interface RetryEventEmitter
Emits retry attempt notifications for the shared retry runner.
Since:
5.0.0
Author:
graemerocher
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onRetry(MutableRetryState retryState, Throwable exception)
    Emits a retry notification.
  • Method Details

    • onRetry

      void onRetry(MutableRetryState retryState, Throwable exception)
      Emits a retry notification.
      Parameters:
      retryState - The retry state
      exception - The exception that triggered the retry