Class MultiRetryWhenOp<T>

  • Type Parameters:
    T - the type of item
    All Implemented Interfaces:
    Multi<T>, org.reactivestreams.Publisher<T>

    public final class MultiRetryWhenOp<T>
    extends AbstractMultiOperator<T,​T>
    Retries a source when a companion stream signals an item in response to the main's failure event.

    If the companion stream signals when the main source is active, the repeat attempt is suppressed and any terminal signal will terminate the main source with the same signal immediately.

    • Constructor Detail

      • MultiRetryWhenOp

        public MultiRetryWhenOp​(Multi<? extends T> upstream,
                                java.util.function.Predicate<? super java.lang.Throwable> onFailurePredicate,
                                java.util.function.Function<? super Multi<java.lang.Throwable>,​? extends org.reactivestreams.Publisher<?>> triggerStreamFactory)