Uses of Interface
com.couchbase.client.core.retry.reactor.RetryContext
-
Uses of RetryContext in com.couchbase.client.core.retry.reactor
Modifier and TypeMethodDescriptionstatic <T> DefaultRetry<T>
DefaultRetry.create
(Predicate<? super RetryContext<T>> retryPredicate) Deprecated.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.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.