Interface TerminalStageFactory<T extends org.eclipse.microprofile.reactive.streams.operators.spi.Stage>
-
- All Known Implementing Classes:
CancelStageFactory,CollectStageFactory,FindFirstStageFactory,SubscriberStageFactory
- 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 TerminalStageFactory<T extends org.eclipse.microprofile.reactive.streams.operators.spi.Stage>Factory to createTerminalStageinstances.- Author:
- Clement Escoffier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <I,O>
TerminalStage<I,O>create(Engine engine, T stage)Creates the instance.
-
-
-
Method Detail
-
create
<I,O> TerminalStage<I,O> create(Engine engine, T stage)
Creates the instance.- Type Parameters:
I- incoming dataO- computed result- Parameters:
engine- the reactive engine, must not benullstage- the stage, must not benull- Returns:
- the terminal stage, must not be
null
-
-