Package | Description |
---|---|
com.couchbase.client.core.retry.reactor |
Modifier and Type | Class and Description |
---|---|
class |
DefaultContext<T> |
Modifier and Type | Method and Description |
---|---|
static <T> DefaultRetry<T> |
DefaultRetry.create(Predicate<? super RetryContext<T>> retryPredicate) |
Retry<T> |
Retry.doOnRetry(Consumer<? super RetryContext<T>> onRetry)
Returns a retry function that invokes the provided onRetry
callback before every retry.
|
Retry<T> |
DefaultRetry.doOnRetry(Consumer<? super RetryContext<T>> onRetry) |
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.
|
Copyright © 2020 Couchbase, Inc.. All rights reserved.