Interface PublisherStageFactory<T extends org.eclipse.microprofile.reactive.streams.operators.spi.Stage>
-
- All Known Implementing Classes:
ConcatStageFactory,FailedPublisherStageFactory,FromCompletionStageFactory,FromCompletionStageNullableFactory,FromIterableStageFactory,FromPublisherStageFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PublisherStageFactory<T extends org.eclipse.microprofile.reactive.streams.operators.spi.Stage>Factory to createPublisherStageinstances.- Author:
- Clement Escoffier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <O> PublisherStage<O>create(Engine engine, T stage)Creates the instance.
-
-
-
Method Detail
-
create
<O> PublisherStage<O> create(Engine engine, T stage)
Creates the instance.- Type Parameters:
O- output data- Parameters:
engine- the reactive enginestage- the stage- Returns:
- the created processing stage, should never be
null
-
-