Class SubscriberStageFactory

  • All Implemented Interfaces:
    TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.SubscriberStage>

    public class SubscriberStageFactory
    extends Object
    implements TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.SubscriberStage>
    Implementation of the Stage.SubscriberStage stage.
    Author:
    Clement Escoffier
    • Constructor Detail

      • SubscriberStageFactory

        public SubscriberStageFactory()
    • Method Detail

      • create

        public <I,​O> TerminalStage<I,​O> create​(Engine engine,
                                                           org.eclipse.microprofile.reactive.streams.operators.spi.Stage.SubscriberStage stage)
        Description copied from interface: TerminalStageFactory
        Creates the instance.
        Specified by:
        create in interface TerminalStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.SubscriberStage>
        Type Parameters:
        I - incoming data
        O - computed result
        Parameters:
        engine - the reactive engine, must not be null
        stage - the stage, must not be null
        Returns:
        the terminal stage, must not be null