Uses of Class
com.couchbase.client.core.retry.RetryAction
-
Packages that use RetryAction Package Description com.couchbase.client.core.retry -
-
Uses of RetryAction in com.couchbase.client.core.retry
Methods in com.couchbase.client.core.retry that return RetryAction Modifier and Type Method Description static RetryActionRetryAction. noRetry()Constructs a newRetryActionindicating that the request should not be retried.static RetryActionRetryAction. noRetry(Function<Throwable,Throwable> exceptionTranslator)Constructs a newRetryActionindicating that the request should not be retried, and a specific exception should be used to fail the request.static RetryActionRetryAction. withDuration(Duration duration)Constructs a newRetryActionindicating that the request should be retried after the given duration.Methods in com.couchbase.client.core.retry that return types with arguments of type RetryAction Modifier and Type Method Description CompletableFuture<RetryAction>BestEffortRetryStrategy. shouldRetry(Request<? extends Response> request, RetryReason reason)Determines if a request should be retried or not (and if so, after which duration).CompletableFuture<RetryAction>FailFastRetryStrategy. shouldRetry(Request<? extends Response> request, RetryReason reason)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.
-