blob: 45c5ef0d623dd01ac65349794d0fcdf2e747158f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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;
import java.util.function.BiPredicate;
/**
* A predicate that determines whether an operation should be retried.
*
* @author bjorncs
*/
public interface RetryPredicate<T> extends BiPredicate<T, HttpClientContext> {}
|