| Package | Description |
|---|---|
| com.linecorp.armeria.client.retry |
A
Client decorator that handles failures and retries requests. |
| Modifier and Type | Method and Description |
|---|---|
static RetryingRpcClientBuilder |
RetryingRpcClient.builder(RetryStrategyWithContent<RpcResponse> retryStrategyWithContent)
Returns a new
RetryingRpcClientBuilder with the specified RetryStrategyWithContent. |
RetryingRpcClientBuilder |
RetryingRpcClientBuilder.maxTotalAttempts(int maxTotalAttempts) |
RetryingRpcClientBuilder |
RetryingRpcClientBuilder.responseTimeoutForEachAttempt(Duration responseTimeoutForEachAttempt) |
RetryingRpcClientBuilder |
RetryingRpcClientBuilder.responseTimeoutMillisForEachAttempt(long responseTimeoutMillisForEachAttempt) |
Copyright © 2020 LeanCloud. All rights reserved.