| Package | Description |
|---|---|
| com.linecorp.armeria.client.retry |
A
Client decorator that handles failures and retries requests. |
| Modifier and Type | Class and Description |
|---|---|
class |
RetryingHttpClient
Deprecated.
Use
RetryingClient. |
| Modifier and Type | Method and Description |
|---|---|
RetryingClient |
RetryingClientBuilder.build(HttpClient delegate)
Returns a newly-created
RetryingClient based on the properties of this builder. |
| Modifier and Type | Method and Description |
|---|---|
Function<? super HttpClient,RetryingClient> |
RetryingClientBuilder.newDecorator()
Returns a newly-created decorator that decorates an
HttpClient with a new
RetryingClient based on the properties of this builder. |
static Function<? super HttpClient,RetryingClient> |
RetryingHttpClient.newDecorator(RetryStrategy retryStrategy)
Deprecated.
|
static Function<? super HttpClient,RetryingClient> |
RetryingClient.newDecorator(RetryStrategy retryStrategy)
Creates a new
HttpClient decorator that handles failures of an invocation and retries HTTP
requests. |
static Function<? super HttpClient,RetryingClient> |
RetryingHttpClient.newDecorator(RetryStrategy retryStrategy,
int maxTotalAttempts)
Deprecated.
|
static Function<? super HttpClient,RetryingClient> |
RetryingClient.newDecorator(RetryStrategy retryStrategy,
int maxTotalAttempts)
Creates a new
HttpClient decorator that handles failures of an invocation and retries HTTP
requests. |
static Function<? super HttpClient,RetryingClient> |
RetryingHttpClient.newDecorator(RetryStrategy retryStrategy,
int maxTotalAttempts,
long responseTimeoutMillisForEachAttempt)
Deprecated.
|
static Function<? super HttpClient,RetryingClient> |
RetryingClient.newDecorator(RetryStrategy retryStrategy,
int maxTotalAttempts,
long responseTimeoutMillisForEachAttempt)
Creates a new
HttpClient decorator that handles failures of an invocation and retries HTTP
requests. |
Copyright © 2020 LeanCloud. All rights reserved.