Uses of Interface
com.couchbase.client.core.retry.reactor.Retry
Packages that use Retry
Package
Description
This package consists of code borrowed from an old version of the optional
`reactor-extra` library.
-
Uses of Retry in com.couchbase.client.core.retry.reactor
Classes in com.couchbase.client.core.retry.reactor that implement RetryMethods in com.couchbase.client.core.retry.reactor that return RetryModifier and TypeMethodDescriptionstatic <T> Retry<T>
Deprecated.Returns a retry function that retries errors resulting from all exceptions except the specified non-retriable exceptions, once.static <T> Retry<T>
Retry.any()
Deprecated.Returns a retry function that retries any exception, once.static <T> Retry<T>
Deprecated.Returns a retry function that retries errors resulting from any of the specified exceptions, once.Deprecated.Deprecated.Returns a retry function with backoff delay.DefaultRetry.doOnRetry
(Consumer<? super RetryContext<T>> onRetry) Deprecated.Retry.doOnRetry
(Consumer<? super RetryContext<T>> onRetry) Deprecated.Returns a retry function that invokes the provided onRetry callback before every retry.Retry.exponentialBackoff
(Duration firstBackoff, Duration maxBackoff) Deprecated.Returns a retry function with exponential backoff delay.Retry.exponentialBackoffWithJitter
(Duration firstBackoff, Duration maxBackoff) Deprecated.Returns a retry function with full jitter backoff strategy.Retry.fixedBackoff
(Duration backoffInterval) Deprecated.Returns a retry function with fixed backoff delay.Deprecated.Deprecated.Returns a retry function that applies jitter to the backoff delay.Retry.noBackoff()
Deprecated.Returns a retry function with no backoff delay.static <T> Retry<T>
Retry.onlyIf
(Predicate<? super RetryContext<T>> predicate) Deprecated.Retry function that retries only if the predicate returns true, with no limit to the number of attempts.Retry.randomBackoff
(Duration firstBackoff, Duration maxBackoff) Deprecated.Returns a retry function with random de-correlated jitter backoff strategy.DefaultRetry.retryMax
(long maxIterations) Deprecated.Retry.retryMax
(long maxRetries) Deprecated.Retry function that retries n times.Retry.retryOnce()
Deprecated.Retry function that retries once.Deprecated.Deprecated.Returns a retry function with timeout.DefaultRetry.withApplicationContext
(T applicationContext) Deprecated.Retry.withApplicationContext
(T applicationContext) Deprecated.Returns a retry function with an application context that may be used to perform any rollbacks before a retry.DefaultRetry.withBackoffScheduler
(Scheduler scheduler) Deprecated.Retry.withBackoffScheduler
(Scheduler scheduler) Deprecated.Returns a retry function that uses the scheduler provided for backoff delays.
RetrySpec
andRetryBackoffSpec
instead.