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.RetryConfigMapping<T extends Response> Returns aRetryConfig
given theClientRequestContext
.RetryRule Determines whether a failed request should be retried.RetryRuleWithContent<T extends Response> Determines whether a failed request should be retried using the content of aResponse
. -
Class Summary Class Description AbstractBackoff A skeletalBackoff
implementation.AbstractRetryingClient<I extends Request,O extends Response> AClient
decorator that handles failures of remote invocation and retries requests.AbstractRetryingClientBuilder<O extends Response> Builds a newAbstractRetryingClient
or its decorator function.BackoffWrapper Wraps an existingBackoff
.RetryConfig<T extends Response> Holds retry config used by aRetryingClient
.RetryConfigBuilder<T extends Response> Builds aRetryConfig
.RetryDecision ARetryDecision
that determines whether aRetryRule
retries with aBackoff
, skips the currentRetryRule
or no retries.RetryingClient AnHttpClient
decorator that handles failures of an invocation and retries HTTP requests.RetryingClientBuilder Builds a newRetryingClient
or its decorator function.RetryingRpcClient AnRpcClient
decorator that handles failures of an invocation and retries RPC requests.RetryingRpcClientBuilder Builds a newRetryingRpcClient
or its decorator function.RetryRuleBuilder A builder for creating a newRetryRule
.RetryRuleWithContentBuilder<T extends Response> A builder for creating a newRetryRuleWithContent
.