Top Description Inners Fields Constructors Methods
reactor.core.publisher

pack-priv final Class FluxRetryWhen<T>

extends InternalFluxOperator<T, T>
Class Inheritance
Type Parameters
<T>
the source value type
Imports
java.util.Objects, java.util.concurrent.atomic.AtomicIntegerFieldUpdater, java.util.stream.Stream, org.reactivestreams.Publisher, .Subscription, reactor.core.CorePublisher, .CoreSubscriber, .Scannable, reactor.util.annotation.Nullable, reactor.util.context.Context, .ContextView, reactor.util.retry.Retry

Retries a source when a companion sequence signals an item in response to the main's error signal.

If the companion sequence 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.

See Also
Reactive-Streams-Commons

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final Retry
Inherited from reactor.core.publisher.InternalFluxOperator:
optimizableOperator

Constructor Summary

AccessConstructor and Description
pack-priv
FluxRetryWhen(Flux<? extends T> source, Retry whenSourceFactory)

Method Summary

Modifier and TypeMethod and Description
public Object
scanUnsafe(Scannable.Attr<T>
a Attr to resolve for the component.
key
)

Overrides reactor.core.publisher.InternalFluxOperator.scanUnsafe.

Implements reactor.core.Scannable.scanUnsafe.

This method is used internally by components to define their key-value mappings in a single place.
pack-priv static <T> void
subscribe(CoreSubscriber<? super T> s, Retry whenSourceFactory, CorePublisher<? extends T> source)

public CoreSubscriber<? super T>
subscribeOrReturn(CoreSubscriber<? super T> actual)

Implements abstract reactor.core.publisher.InternalFluxOperator.subscribeOrReturn.

Implements reactor.core.publisher.OptimizableOperator.subscribeOrReturn.

Allow delegation of the subscription by returning a CoreSubscriber, or force subscription encapsulation by returning null.
Inherited from reactor.core.publisher.InternalFluxOperator:
nextOptimizableSourcesourcesubscribe