Client
decorator that handles failures and retries requests.See: Description
Interface | Description |
---|---|
Backoff |
Control back off between attempts in a single retry operation.
|
RetryStrategy<I extends Request,O extends Response> |
Determines whether a failed request should be retried.
|
Class | Description |
---|---|
AbstractBackoff |
A skeletal
Backoff implementation. |
BackoffWrapper |
Wraps an existing
Backoff . |
RetryingClient<I extends Request,O extends Response> |
A
Client decorator that handles failures of remote invocation and retries requests. |
RetryingClientBuilder<T extends RetryingClientBuilder<T,U,I,O>,U extends RetryingClient<I,O>,I extends Request,O extends Response> |
Builds a new
RetryingClient or its decorator function. |
RetryingHttpClient |
A
Client decorator that handles failures of an invocation and retries HTTP requests. |
RetryingHttpClientBuilder |
Builds a new
RetryingHttpClient or its decorator function. |
RetryingRpcClient |
A
Client decorator that handles failures of an invocation and retries RPC requests. |
RetryingRpcClientBuilder |
Builds a new
RetryingRpcClient or its decorator function. |
Exception | Description |
---|---|
RetryGiveUpException |
A
RuntimeException that is raised when a RetryingClient gives up retrying due to the
result of Backoff.nextDelayMillis(int) . |
Client
decorator that handles failures and retries requests.© Copyright 2015–2017 LINE Corporation. All rights reserved.