Module io.helidon.common.reactive
Package io.helidon.common.reactive
Common reactive library for Helidon projects.
-
Interface Summary Interface Description Collector<T,U> A collector accumulates the items provided whenCollector.collect(java.lang.Object)is invoked and makes them available in a single container object withCollector.value().Multi<T> Multiple items publisher facility.OptionalCompletionStage<T> A completion stage that allows processing of cases when the element is present and when not.RetrySchema Defines delay for next read/poll operation in a pollingpublisher.Single<T> Single item publisher utility.Subscribable<T> Decorated publisher that allows subscribing to individual events with java functions. -
Class Summary Class Description BufferedProcessor<T,U> Processor with back-pressure buffer.ConcatPublisher<T> Concat streams to one.Flows Utilities for Flow API.MappingProcessor<SOURCE,TARGET> AFlow.Processorthat only maps the source type to target type using a mapping function.MultiCoupledProcessor<T,R> Coupled processor sends items received to the passed in subscriber, and emits items received from the passed in publisher.MultiDistinctProcessor<T> Filter out all duplicate items.MultiDropWhileProcessor<T> Drop the longest prefix of elements from this stream that satisfy the given predicate.MultiFilterProcessor<T> Processor filtering stream with supplied predicate.MultiFlatMapProcessor<T> Flatten the elements emitted by publishers produced by the mapper function to this stream.MultiLimitProcessor<T> Let pass only specified number of items.MultiMapProcessor<T,U> Processor ofFlow.PublishertoSinglethat publishes and maps each received item.MultiOnErrorResumeProcessor<T> Resume stream from supplied publisher if onError signal is intercepted.MultiPeekProcessor<T> Invoke supplied consumer for every item in the stream.MultiSkipProcessor<T> Skip first n items, all the others are emitted.MultiTakeWhileProcessor<T> Take the longest prefix of elements from this stream that satisfy the given predicate.MultiTappedProcessor<R> Processor executing provided functions on passing signals onNext, onError, onComplete, onCancel.OriginThreadPublisher<T,U> The OriginThreadPublisher's nature is to always runFlow.Subscriber.onNext(Object)on the very same thread asOriginThreadPublisher.submit(Object).OutputStreamPublisher Output stream thatFlow.Publisherpublishes any data written to it asByteBufferevents.ReactiveStreamsAdapter Deprecated. This class will be removed in the next major release.RequestedCounter Requested event counter.SingleSubscriberHolder<T> A subscriber container that accepts only a single, one-time subscriber registration.StreamValidationUtils Helper methods for stream validation.SubmissionPublisher<T> Deprecated. This class will be removed in the next major release.UnboundedSemaphore The UnboundedSemaphore is designed to fit Reactive Streams use-case; that is to be able to allow an unbounded number of acquires once a cumulative release count reachesLong.MAX_VALUE. -
Exception Summary Exception Description BackPressureOverflowException Raised when back-pressure buffer overflows.