| Package | Description |
|---|---|
| com.linecorp.armeria.client.retry |
A
Client decorator that handles failures and retries requests. |
| Modifier and Type | Method and Description |
|---|---|
RetryingRpcClient |
RetryingRpcClientBuilder.build(RpcClient delegate)
Returns a newly-created
RetryingRpcClient based on the properties of this builder. |
| Modifier and Type | Method and Description |
|---|---|
Function<? super RpcClient,RetryingRpcClient> |
RetryingRpcClientBuilder.newDecorator()
Returns a newly-created decorator that decorates an
RpcClient with a new
RetryingRpcClient based on the properties of this builder. |
static Function<? super RpcClient,RetryingRpcClient> |
RetryingRpcClient.newDecorator(RetryStrategyWithContent<RpcResponse> retryStrategyWithContent)
Creates a new
RpcClient decorator that handles failures of an invocation and retries
RPC requests. |
static Function<? super RpcClient,RetryingRpcClient> |
RetryingRpcClient.newDecorator(RetryStrategyWithContent<RpcResponse> retryStrategyWithContent,
int maxTotalAttempts)
Creates a new
RpcClient decorator that handles failures of an invocation and retries
RPC requests. |
static Function<? super RpcClient,RetryingRpcClient> |
RetryingRpcClient.newDecorator(RetryStrategyWithContent<RpcResponse> retryStrategyWithContent,
int maxTotalAttempts,
long responseTimeoutMillisForEachAttempt)
Creates a new
RpcClient decorator that handles failures of an invocation and retries
RPC requests. |
Copyright © 2020 LeanCloud. All rights reserved.