Uses of Interface
com.couchbase.client.core.retry.reactor.Retry
Packages that use Retry
-
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>Returns a retry function that retries errors resulting from all exceptions except the specified non-retriable exceptions, once.static <T> Retry<T>Retry.any()Returns a retry function that retries any exception, once.static <T> Retry<T>Returns a retry function that retries errors resulting from any of the specified exceptions, once.Returns a retry function with backoff delay.DefaultRetry.doOnRetry(Consumer<? super RetryContext<T>> onRetry) Retry.doOnRetry(Consumer<? super RetryContext<T>> onRetry) Returns a retry function that invokes the provided onRetry callback before every retry.Retry.exponentialBackoff(Duration firstBackoff, Duration maxBackoff) Returns a retry function with exponential backoff delay.Retry.exponentialBackoffWithJitter(Duration firstBackoff, Duration maxBackoff) Returns a retry function with full jitter backoff strategy.Retry.fixedBackoff(Duration backoffInterval) Returns a retry function with fixed backoff delay.Returns a retry function that applies jitter to the backoff delay.Retry.noBackoff()Returns a retry function with no backoff delay.static <T> Retry<T>Retry.onlyIf(Predicate<? super RetryContext<T>> predicate) Retry function that retries only if the predicate returns true, with no limit to the number of attempts.Retry.randomBackoff(Duration firstBackoff, Duration maxBackoff) Returns a retry function with random de-correlated jitter backoff strategy.DefaultRetry.retryMax(long maxIterations) Retry.retryMax(long maxRetries) Retry function that retries n times.Retry.retryOnce()Retry function that retries once.Returns a retry function with timeout.DefaultRetry.withApplicationContext(T applicationContext) Retry.withApplicationContext(T applicationContext) Returns a retry function with an application context that may be used to perform any rollbacks before a retry.DefaultRetry.withBackoffScheduler(Scheduler scheduler) Retry.withBackoffScheduler(Scheduler scheduler) Returns a retry function that uses the scheduler provided for backoff delays.