Uses of Interface
com.couchbase.client.core.retry.reactor.RepeatContext
-
Packages that use RepeatContext Package Description com.couchbase.client.core.retry.reactor -
-
Uses of RepeatContext in com.couchbase.client.core.retry.reactor
Classes in com.couchbase.client.core.retry.reactor that implement RepeatContext Modifier and Type Class Description class
DefaultContext<T>
Method parameters in com.couchbase.client.core.retry.reactor with type arguments of type RepeatContext Modifier and Type Method Description static <T> DefaultRepeat<T>
DefaultRepeat. create(Predicate<? super RepeatContext<T>> repeatPredicate, long n)
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.Repeat<T>
DefaultRepeat. doOnRepeat(Consumer<? super RepeatContext<T>> onRepeat)
Repeat<T>
Repeat. doOnRepeat(Consumer<? super RepeatContext<T>> onRepeat)
Returns a repeat function that invokes the provided onRepeat callback before every repeat.static <T> Repeat<T>
Repeat. onlyIf(Predicate<? super RepeatContext<T>> predicate)
Repeat function that repeats only if the predicate returns true.
-