Package com.linecorp.armeria.client.retry
A
Client
decorator that handles failures and retries requests.-
Interface Summary Interface Description Backoff Controls back off between attempts in a single retry operation.RetryStrategy Determines whether a failed request should be retried.RetryStrategyWithContent<T extends Response> Determines whether a failed request should be retried using the content of aResponse
. -
Class Summary Class Description AbstractBackoff A skeletalBackoff
implementation.BackoffWrapper Wraps an existingBackoff
.RetryingClient<I extends Request,O extends Response> AClient
decorator that handles failures of remote invocation and retries requests.RetryingClientBuilder<T extends RetryingClientBuilder<T,U,I,O>,U extends RetryingClient<I,O>,I extends Request,O extends Response> Builds a newRetryingClient
or its decorator function.RetryingHttpClient AClient
decorator that handles failures of an invocation and retries HTTP requests.RetryingHttpClientBuilder Builds a newRetryingHttpClient
or its decorator function.RetryingRpcClient AClient
decorator that handles failures of an invocation and retries RPC requests.RetryingRpcClientBuilder Builds a newRetryingRpcClient
or its decorator function.