Uses of Class
com.couchbase.client.core.retry.RetryAction
-
Uses of RetryAction in com.couchbase.client.core.retry
Modifier and TypeMethodDescriptionstatic RetryAction
RetryAction.noRetry()
Constructs a newRetryAction
indicating that the request should not be retried.static RetryAction
Constructs a newRetryAction
indicating that the request should not be retried, and a specific exception should be used to fail the request.static RetryAction
RetryAction.withDuration
(Duration duration) Constructs a newRetryAction
indicating that the request should be retried after the given duration.Modifier and TypeMethodDescriptionBestEffortRetryStrategy.shouldRetry
(Request<? extends Response> request, RetryReason reason) Determines if a request should be retried or not (and if so, after which duration).FailFastRetryStrategy.shouldRetry
(Request<? extends Response> request, RetryReason reason) RetryStrategy.shouldRetry
(Request<? extends Response> request, RetryReason reason) Checks if the given request should be retried and how long the retry delay should be.