Module io.helidon.common.reactive
Package io.helidon.common.reactive
Common reactive library for Helidon projects.
-
Interface Summary Interface Description Awaitable<T> Makes intentional blocking when waiting forCompletableFuturemore convenient withAwaitable.await()andAwaitable.await(long, java.util.concurrent.TimeUnit)methods.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().IoMulti Create reactive stream from standard IO resources.Multi<T> Represents aFlow.Publisheremitting zero or more items, optionally followed by an error or completion.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> Represents aFlow.Publisherthat may: signal one item then completes, complete without an item or signal an error.Subscribable<T> Decorated publisher that allows subscribing to individual events with java functions. -
Class Summary Class Description BufferedEmittingPublisher<T> Emitting publisher for manual publishing with built-in buffer for handling backpressure.CompletionAwaitable<T> CompletionStagewrapper enriched withAwaitable.CompletionSingle<T> Single as CompletionStage.ConcatPublisher<T> Concat streams to one.EmittingPublisher<T> Emitting publisher for manual publishing on the same thread.IoMulti.MultiFromByteChannelBuilder Fluent API builder for creating aMultifrom aReadableByteChannel.IoMulti.MultiFromInputStreamBuilder Fluent API builder for creating aMultifrom anInputStream.IoMulti.MultiToByteChannelBuilder Fluent API builder for creating a subscriber consumingMulti<ByteBuffer>toWritableByteChannel.IoMulti.OutputStreamMultiBuilder Fluent API builder forOutputStreamMulti.MultiFromOutputStream Deprecated, for removal: This API element is subject to removal in a future version. please useOutputStreamMultiinsteadMultiTappedPublisher<T> Intercept the calls to the various Flow interface methods and calls the appropriate user callbacks.MultiTappedPublisher.Builder<T> Multi tapped publisher builder to register custom callbacks.OutputStreamMulti Output stream thatFlow.Publisherpublishes any data written to it asByteBufferevents.RequestedCounter Requested event counter.SequentialSubscriber<T> WrapperFlow.SubscriberensuringOnSubscribe,onNext,onErrorandonCompleteto be signaled serially.SingleSubscriberHolder<T> A subscriber container that accepts only a single, one-time subscriber registration.StreamValidationUtils Helper methods for stream validation. -
Enum Summary Enum Description SubscriptionHelper Helper enum with a singleton cancellation indicator and utility methods to perform atomic actions onFlow.Subscriptions.