| Package | Description |
|---|---|
| com.linecorp.armeria.client.retry |
A
Client decorator that handles failures and retries requests. |
| Modifier and Type | Class and Description |
|---|---|
class |
RetryingHttpClientBuilder
Builds a new
RetryingHttpClient or its decorator function. |
class |
RetryingRpcClientBuilder
Builds a new
RetryingRpcClient or its decorator function. |
| Modifier and Type | Method and Description |
|---|---|
RetryingClientBuilder<O> |
RetryingClientBuilder.maxTotalAttempts(int maxTotalAttempts)
Sets the maximum number of total attempts.
|
RetryingClientBuilder<O> |
RetryingClientBuilder.responseTimeoutForEachAttempt(Duration responseTimeoutForEachAttempt)
Sets the response timeout for each attempt.
|
RetryingClientBuilder<O> |
RetryingClientBuilder.responseTimeoutMillisForEachAttempt(long responseTimeoutMillisForEachAttempt)
Sets the response timeout for each attempt in milliseconds.
|
Copyright © 2020 LeanCloud. All rights reserved.