diff options
Diffstat (limited to 'http-utils/src/main/java/ai/vespa/util/http/hc4/retry/RetryFailedConsumer.java')
-rw-r--r-- | http-utils/src/main/java/ai/vespa/util/http/hc4/retry/RetryFailedConsumer.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/http-utils/src/main/java/ai/vespa/util/http/hc4/retry/RetryFailedConsumer.java b/http-utils/src/main/java/ai/vespa/util/http/hc4/retry/RetryFailedConsumer.java deleted file mode 100644 index 801c8a5af2f..00000000000 --- a/http-utils/src/main/java/ai/vespa/util/http/hc4/retry/RetryFailedConsumer.java +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2020 Oath Inc. 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); -} |