Uses of Interface
com.couchbase.client.core.retry.reactor.RepeatContext
Packages that use RepeatContext
Package
Description
This package consists of code borrowed from an old version of the optional
`reactor-extra` library.
-
Uses of RepeatContext in com.couchbase.client.core.retry.reactor
Classes in com.couchbase.client.core.retry.reactor that implement RepeatContextMethod parameters in com.couchbase.client.core.retry.reactor with type arguments of type RepeatContextModifier and TypeMethodDescriptionstatic <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.DefaultRepeat.doOnRepeat
(Consumer<? super RepeatContext<T>> onRepeat) 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.