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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onRetry​(T data, java.time.Duration delay, int executionCount, org.apache.http.client.protocol.HttpClientContext context)  
    • Method Detail

      • onRetry

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