Package com.linecorp.armeria.client.retry
@NonNullByDefault
package com.linecorp.armeria.client.retry
A
Client
decorator that handles failures and retries requests.-
ClassDescriptionA skeletal
Backoff
implementation.AClient
decorator that handles failures of remote invocation and retries requests.AbstractRetryingClientBuilder<O extends Response>Builds a newAbstractRetryingClient
or its decorator function.Controls back off between attempts in a single retry operation.Wraps an existingBackoff
.RetryConfig<T extends Response>Holds retry config used by aRetryingClient
.RetryConfigBuilder<T extends Response>Builds aRetryConfig
.RetryConfigMapping<T extends Response>Returns aRetryConfig
given theClientRequestContext
.ARetryDecision
that determines whether aRetryRule
retries with aBackoff
, skips the currentRetryRule
or no retries.AnHttpClient
decorator that handles failures of an invocation and retries HTTP requests.Builds a newRetryingClient
or its decorator function.AnRpcClient
decorator that handles failures of an invocation and retries RPC requests.Builds a newRetryingRpcClient
or its decorator function.Determines whether a failed request should be retried.A builder for creating a newRetryRule
.RetryRuleWithContent<T extends Response>Determines whether a failed request should be retried using the content of aResponse
.RetryRuleWithContentBuilder<T extends Response>A builder for creating a newRetryRuleWithContent
.