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> Repeat<T> |
Repeat.create(Predicate<? super RepeatContext<T>> predicate,
long n)
Repeat function that repeats n times, only if the predicate returns true.
|
static <T> DefaultRepeat<T> |
DefaultRepeat.create(Predicate<? super RepeatContext<T>> repeatPredicate,
long n) |
Repeat<T> |
Repeat.doOnRepeat(Consumer<? super RepeatContext<T>> onRepeat)
Returns a repeat function that invokes the provided onRepeat
callback before every repeat.
|
Repeat<T> |
DefaultRepeat.doOnRepeat(Consumer<? super RepeatContext<T>> onRepeat) |
static <T> Repeat<T> |
Repeat.onlyIf(Predicate<? super RepeatContext<T>> predicate)
Repeat function that repeats only if the predicate returns true.
|
Copyright © 2021 Couchbase, Inc.. All rights reserved.