Class ConcatStageFactory

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

    public class ConcatStageFactory
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <O> PublisherStage<O> create​(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.Concat stage)
      Creates the instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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