Class FlatMapStageFactory

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

    public class FlatMapStageFactory
    extends Object
    implements ProcessingStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.FlatMap>
    Implementation of the Stage.FlatMap stage. Be aware it behaves as a RX `concatMap`.
    Author:
    Clement Escoffier
    • Constructor Detail

      • FlatMapStageFactory

        public FlatMapStageFactory()
    • Method Detail

      • create

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