Interface RetryConsumer<T>

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 interface RetryConsumer<T>
Invoked before performing a delay and retry.
Author:
bjorncs
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onRetry(T data, Duration delay, int executionCount, org.apache.http.client.protocol.HttpClientContext context)
     
  • Method Details

    • onRetry

      void onRetry(T data, Duration delay, int executionCount, org.apache.http.client.protocol.HttpClientContext context)