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