Package | Description |
---|---|
com.couchbase.client.core.retry |
Modifier and Type | Method and Description |
---|---|
static RetryAction |
RetryAction.noRetry() |
static RetryAction |
RetryAction.withDuration(Duration duration) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<RetryAction> |
RetryStrategy.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> |
FailFastRetryStrategy.shouldRetry(Request<? extends Response> request,
RetryReason reason) |
CompletableFuture<RetryAction> |
BestEffortRetryStrategy.shouldRetry(Request<? extends Response> request,
RetryReason reason) |
Copyright © 2020 Couchbase, Inc.. All rights reserved.