Package | Description |
---|---|
com.couchbase.client.core.retry.reactor |
Modifier and Type | Class and Description |
---|---|
class |
DefaultRetry<T>
Deprecated.
Use equivalent features of reactor-core like
RetrySpec and RetryBackoffSpec instead. |
Modifier and Type | Method and Description |
---|---|
static <T> Retry<T> |
Retry.allBut(Class<? extends Throwable>... nonRetriableExceptions)
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> |
Retry.anyOf(Class<? extends Throwable>... retriableExceptions)
Deprecated.
Returns a retry function that retries errors resulting from any of the
specified exceptions, once.
|
Retry<T> |
DefaultRetry.backoff(Backoff backoff)
Deprecated.
|
Retry<T> |
Retry.backoff(Backoff backoff)
Deprecated.
Returns a retry function with backoff delay.
|
Retry<T> |
DefaultRetry.doOnRetry(Consumer<? super RetryContext<T>> onRetry)
Deprecated.
|
Retry<T> |
Retry.doOnRetry(Consumer<? super RetryContext<T>> onRetry)
Deprecated.
Returns a retry function that invokes the provided onRetry
callback before every retry.
|
default Retry<T> |
Retry.exponentialBackoff(Duration firstBackoff,
Duration maxBackoff)
Deprecated.
Returns a retry function with exponential backoff delay.
|
default Retry<T> |
Retry.exponentialBackoffWithJitter(Duration firstBackoff,
Duration maxBackoff)
Deprecated.
Returns a retry function with full jitter backoff strategy.
|
default Retry<T> |
Retry.fixedBackoff(Duration backoffInterval)
Deprecated.
Returns a retry function with fixed backoff delay.
|
Retry<T> |
DefaultRetry.jitter(Jitter jitter)
Deprecated.
|
Retry<T> |
Retry.jitter(Jitter jitter)
Deprecated.
Returns a retry function that applies jitter to the backoff delay.
|
default Retry<T> |
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.
|
default Retry<T> |
Retry.randomBackoff(Duration firstBackoff,
Duration maxBackoff)
Deprecated.
Returns a retry function with random de-correlated jitter backoff strategy.
|
Retry<T> |
DefaultRetry.retryMax(long maxIterations)
Deprecated.
|
Retry<T> |
Retry.retryMax(long maxRetries)
Deprecated.
Retry function that retries n times.
|
default Retry<T> |
Retry.retryOnce()
Deprecated.
Retry function that retries once.
|
Retry<T> |
DefaultRetry.timeout(Duration timeout)
Deprecated.
|
Retry<T> |
Retry.timeout(Duration timeout)
Deprecated.
Returns a retry function with timeout.
|
Retry<T> |
DefaultRetry.withApplicationContext(T applicationContext)
Deprecated.
|
Retry<T> |
Retry.withApplicationContext(T applicationContext)
Deprecated.
Returns a retry function with an application context that may be
used to perform any rollbacks before a retry.
|
Retry<T> |
DefaultRetry.withBackoffScheduler(Scheduler scheduler)
Deprecated.
|
Retry<T> |
Retry.withBackoffScheduler(Scheduler scheduler)
Deprecated.
Returns a retry function that uses the scheduler provided for
backoff delays.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.