blob: 4d90829cf1eff01e0cadbb4135aedbeb7834c1ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.util.http.hc4.retry;
import org.apache.http.client.protocol.HttpClientContext;
/**
* Invoked after the last retry has failed.
*
* @author bjorncs
*/
@FunctionalInterface
public interface RetryFailedConsumer<T> {
void onRetryFailed(T response, int executionCount, HttpClientContext context);
}
|