Uses of Interface
org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder
Packages that use SubscriberBuilder
Package
Description
MicroProfile Reactive Streams Operators.
-
Uses of SubscriberBuilder in org.eclipse.microprofile.reactive.streams.operators
Methods in org.eclipse.microprofile.reactive.streams.operators that return SubscriberBuilderModifier and TypeMethodDescriptionProcessorBuilder.cancel()Cancels the stream as soon as it is run.<S> SubscriberBuilder<T,S> ProcessorBuilder.collect(Supplier<S> supplier, BiConsumer<S, ? super R> accumulator) Collect the elements emitted by this stream using aCollectorbuilt from the givensupplierandaccumulator.<S,A> SubscriberBuilder<T, S> Collect the elements emitted by this stream using the givenCollector.ProcessorBuilder.findFirst()Find the first element emitted by thePublisher, and return it in aCompletionStage.Performs an action for each element on this stream.static <T> SubscriberBuilder<T,Void> ReactiveStreams.fromSubscriber(org.reactivestreams.Subscriber<? super T> subscriber) Create aSubscriberBuilderfrom the givenSubscriber.<T> SubscriberBuilder<T,Void> ReactiveStreamsFactory.fromSubscriber(org.reactivestreams.Subscriber<? super T> subscriber) Create aSubscriberBuilderfrom the givenSubscriber.ProcessorBuilder.ignore()Ignores each element of this stream.ProcessorBuilder.reduce(BinaryOperator<R> accumulator) Perform a reduction on the elements of this stream, using the provided accumulation function.ProcessorBuilder.reduce(R identity, BinaryOperator<R> accumulator) Perform a reduction on the elements of this stream, using the provided identity value and the accumulation function.<S> SubscriberBuilder<T,S> ProcessorBuilder.to(SubscriberBuilder<? super R, ? extends S> subscriber) Connect the outlet of this stream to the givenSubscriberBuildergraph.Connect the outlet of thePublisherbuilt by this builder to the givenSubscriber.ProcessorBuilder.toList()Collect the elements emitted by this stream into aList.Methods in org.eclipse.microprofile.reactive.streams.operators with parameters of type SubscriberBuilderModifier and TypeMethodDescriptionstatic <T,R> ProcessorBuilder<T, R> ReactiveStreams.coupled(SubscriberBuilder<? super T, ?> subscriber, PublisherBuilder<? extends R> publisher) <T,R> ProcessorBuilder<T, R> ReactiveStreamsFactory.coupled(SubscriberBuilder<? super T, ?> subscriber, PublisherBuilder<? extends R> publisher) <R> ProducesResult<R>ConnectingOperators.to(SubscriberBuilder<? super T, ? extends R> subscriberBuilder) Connect the outlet of this stream to the givenSubscriberBuildergraph.<S> SubscriberBuilder<T,S> ProcessorBuilder.to(SubscriberBuilder<? super R, ? extends S> subscriber) Connect the outlet of this stream to the givenSubscriberBuildergraph.<R> CompletionRunner<R>PublisherBuilder.to(SubscriberBuilder<? super T, ? extends R> subscriber) Connect the outlet of this stream to the givenSubscriberBuildergraph.