Package ai.vespa.util.http.hc4.retry
-
Interface Summary Interface Description RetryConsumer<T> Invoked before performing a delay and retry.RetryFailedConsumer<T> Invoked after the last retry has failed.RetryPredicate<T> A predicate that determines whether an operation should be retried.Sleeper An abstraction used for mockingThread.sleep(long)
in unit tests. -
Class Summary Class Description DelayedConnectionLevelRetryHandler AHttpRequestRetryHandler
that supports delayed retries.DelayedConnectionLevelRetryHandler.Builder DelayedResponseLevelRetryHandler AServiceUnavailableRetryStrategy
that supports delayed retries on any response types.DelayedResponseLevelRetryHandler.Builder Sleeper.Default