Class ConcatStageFactory

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

    public class ConcatStageFactory
    extends Object
    implements PublisherStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.Concat>
    Implementation of the Stage.Concat stage. Because both streams can emits on different thread, this operators takes care to called the user on a Vert.x context if the caller used one, otherwise it uses the current thread.
    Author:
    Clement Escoffier
    • Constructor Detail

      • ConcatStageFactory

        public ConcatStageFactory()
    • Method Detail

      • create

        public <O> PublisherStage<O> create​(Engine engine,
                                            org.eclipse.microprofile.reactive.streams.operators.spi.Stage.Concat stage)
        Description copied from interface: PublisherStageFactory
        Creates the instance.
        Specified by:
        create in interface PublisherStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.Concat>
        Type Parameters:
        O - output data
        Parameters:
        engine - the reactive engine
        stage - the stage
        Returns:
        the created processing stage, should never be null