public interface RetryStrategy
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<RetryAction> |
shouldRetry(Request<? extends Response> request,
RetryReason reason)
Checks if the given request should be retried and how long the
retry delay should be.
|
CompletableFuture<RetryAction> shouldRetry(Request<? extends Response> request, RetryReason reason)
request - the request to be checked.Copyright © 2021 Couchbase, Inc.. All rights reserved.