Uses of Interface
org.eclipse.microprofile.reactive.streams.operators.ProcessorBuilder
Packages that use ProcessorBuilder
Package
Description
MicroProfile Reactive Streams Operators.
-
Uses of ProcessorBuilder in org.eclipse.microprofile.reactive.streams.operators
Methods in org.eclipse.microprofile.reactive.streams.operators that return ProcessorBuilderModifier and TypeMethodDescriptionstatic <T> ProcessorBuilder<T,T> ReactiveStreams.builder()Create aProcessorBuilder.<T> ProcessorBuilder<T,T> ReactiveStreamsFactory.builder()Create aProcessorBuilder.static <T,R> ProcessorBuilder<T, R> ReactiveStreams.coupled(SubscriberBuilder<? super T, ?> subscriber, PublisherBuilder<? extends R> publisher) static <T,R> ProcessorBuilder<T, R> ReactiveStreams.coupled(org.reactivestreams.Subscriber<? super T> subscriber, org.reactivestreams.Publisher<? extends R> publisher) <T,R> ProcessorBuilder<T, R> ReactiveStreamsFactory.coupled(SubscriberBuilder<? super T, ?> subscriber, PublisherBuilder<? extends R> publisher) <T,R> ProcessorBuilder<T, R> ReactiveStreamsFactory.coupled(org.reactivestreams.Subscriber<? super T> subscriber, org.reactivestreams.Publisher<? extends R> publisher) ProcessorBuilder.distinct()Creates a stream consisting of the distinct elements (according toObject.equals(Object)) of this stream.Drop the longest prefix of elements from this stream that satisfy the givenpredicate.Filter elements emitted by this publisher using the givenPredicate.<S> ProcessorBuilder<T,S> ProcessorBuilder.flatMap(Function<? super R, ? extends PublisherBuilder<? extends S>> mapper) Map the elements to publishers, and flatten so that the elements emitted by publishers produced by themapperfunction are emitted from this stream.<S> ProcessorBuilder<T,S> ProcessorBuilder.flatMapCompletionStage(Function<? super R, ? extends CompletionStage<? extends S>> mapper) Map the elements toCompletionStage, and flatten so that the elements the values redeemed by eachCompletionStageare emitted from this stream.<S> ProcessorBuilder<T,S> ProcessorBuilder.flatMapIterable(Function<? super R, ? extends Iterable<? extends S>> mapper) Map the elements toIterable's, and flatten so that the elements contained in each iterable are emitted by this stream.<S> ProcessorBuilder<T,S> ProcessorBuilder.flatMapRsPublisher(Function<? super R, ? extends org.reactivestreams.Publisher<? extends S>> mapper) Map the elements to publishers, and flatten so that the elements emitted by publishers produced by themapperfunction are emitted from this stream.static <T,R> ProcessorBuilder<T, R> ReactiveStreams.fromProcessor(org.reactivestreams.Processor<? super T, ? extends R> processor) Create aProcessorBuilderfrom the givenProcessor.<T,R> ProcessorBuilder<T, R> ReactiveStreamsFactory.fromProcessor(org.reactivestreams.Processor<? super T, ? extends R> processor) Create aProcessorBuilderfrom the givenProcessor.ProcessorBuilder.limit(long maxSize) Truncate this stream, ensuring the stream is no longer thanmaxSizeelements in length.<S> ProcessorBuilder<T,S> Map the elements emitted by this stream using themapperfunction.ProcessorBuilder.onComplete(Runnable action) Returns a stream containing all the elements from this stream, additionally performing the provided action when this stream completes.Returns a stream containing all the elements from this stream, additionally performing the provided action if this stream conveys an error.ProcessorBuilder.onErrorResume(Function<Throwable, ? extends R> errorHandler) Returns a stream containing all the elements from this stream.ProcessorBuilder.onErrorResumeWith(Function<Throwable, ? extends PublisherBuilder<? extends R>> errorHandler) Returns a stream containing all the elements from this stream.ProcessorBuilder.onErrorResumeWithRsPublisher(Function<Throwable, ? extends org.reactivestreams.Publisher<? extends R>> errorHandler) Returns a stream containing all the elements from this stream.ProcessorBuilder.onTerminate(Runnable action) Returns a stream containing all the elements from this stream, additionally performing the provided action when this stream completes or failed.Returns a stream containing all the elements from this stream, additionally performing the provided action on each element.ProcessorBuilder.skip(long n) Discard the firstnof this stream.Take the longest prefix of elements from this stream that satisfy the givenpredicate.<S> ProcessorBuilder<T,S> ProcessorBuilder.via(ProcessorBuilder<? super R, ? extends S> processor) Connect the outlet of thePublisherbuilt by this builder to the givenProcessorBuilder.<S> ProcessorBuilder<T,S> Connect the outlet of this stream to the givenProcessor.Methods in org.eclipse.microprofile.reactive.streams.operators with parameters of type ProcessorBuilderModifier and TypeMethodDescription<R> ConnectingOperators<R>ConnectingOperators.via(ProcessorBuilder<? super T, ? extends R> processorBuilder) Connect the outlet of thePublisherbuilt by this builder to the givenProcessorBuilder.<S> ProcessorBuilder<T,S> ProcessorBuilder.via(ProcessorBuilder<? super R, ? extends S> processor) Connect the outlet of thePublisherbuilt by this builder to the givenProcessorBuilder.<R> PublisherBuilder<R>PublisherBuilder.via(ProcessorBuilder<? super T, ? extends R> processor) Connect the outlet of thePublisherbuilt by this builder to the givenProcessorBuilder.