Uses of Class
com.couchbase.client.core.retry.RetryAction
Packages that use RetryAction
-
Uses of RetryAction in com.couchbase.client.core.retry
Methods in com.couchbase.client.core.retry that return RetryActionModifier and TypeMethodDescriptionstatic RetryActionRetryAction.noRetry()Constructs a newRetryActionindicating that the request should not be retried.static RetryActionConstructs 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 RetryActionModifier 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.