Class HelidonReactiveStreamsEngine

  • All Implemented Interfaces:
    org.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine

    public final class HelidonReactiveStreamsEngine
    extends Object
    implements org.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine
    Implementation of Reactive Streams with operators backed by Helidon reactive streams.
    See Also:
    INSTANCE, ReactiveStreamsEngine
    • Constructor Detail

      • HelidonReactiveStreamsEngine

        public HelidonReactiveStreamsEngine()
    • Method Detail

      • buildPublisher

        public <T> org.reactivestreams.Publisher<T> buildPublisher​(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph)
                                                            throws org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
        Specified by:
        buildPublisher in interface org.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine
        Throws:
        org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
      • buildSubscriber

        public <T,​R> org.eclipse.microprofile.reactive.streams.operators.spi.SubscriberWithCompletionStage<T,​R> buildSubscriber​(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph)
                                                                                                                                     throws org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
        Specified by:
        buildSubscriber in interface org.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine
        Throws:
        org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
      • buildProcessor

        public <T,​R> org.reactivestreams.Processor<T,​R> buildProcessor​(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph)
                                                                            throws org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
        Specified by:
        buildProcessor in interface org.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine
        Throws:
        org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
      • buildCompletion

        public <T> CompletionStage<T> buildCompletion​(org.eclipse.microprofile.reactive.streams.operators.spi.Graph graph)
                                               throws org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
        Specified by:
        buildCompletion in interface org.eclipse.microprofile.reactive.streams.operators.spi.ReactiveStreamsEngine
        Throws:
        org.eclipse.microprofile.reactive.streams.operators.spi.UnsupportedStageException
      • setCoupledExecutor

        public static void setCoupledExecutor​(ExecutorService executor)
        Override the ExecutorService used by the cross-termination and cross-cancellation of a Coupled stage.
        Parameters:
        executor - the executor to use, null resets it to the default ForkJoinPool