Class TakeWhileStageFactory

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

    public class TakeWhileStageFactory
    extends java.lang.Object
    implements ProcessingStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.TakeWhile>
    Implementation of the Stage.TakeWhile stage.
    Author:
    Clement Escoffier
    • Method Summary

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TakeWhileStageFactory

        public TakeWhileStageFactory()
    • Method Detail

      • create

        public <I,​O> ProcessingStage<I,​O> create​(Engine engine,
                                                             org.eclipse.microprofile.reactive.streams.operators.spi.Stage.TakeWhile stage)
        Description copied from interface: ProcessingStageFactory
        Creates the instance.
        Specified by:
        create in interface ProcessingStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.TakeWhile>
        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