Class OnErrorStageFactory
java.lang.Object
io.smallrye.mutiny.streams.stages.OnErrorStageFactory
- All Implemented Interfaces:
ProcessingStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.OnError>
public class OnErrorStageFactory
extends Object
implements ProcessingStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.OnError>
Implementation of the
Stage.OnError stage.- Author:
- Clement Escoffier
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OnErrorStageFactory
public OnErrorStageFactory()
-
-
Method Details
-
create
public <I,O> ProcessingStage<I,O> create(Engine engine, org.eclipse.microprofile.reactive.streams.operators.spi.Stage.OnError stage) Description copied from interface:ProcessingStageFactoryCreates the instance.- Specified by:
createin interfaceProcessingStageFactory<org.eclipse.microprofile.reactive.streams.operators.spi.Stage.OnError>- Type Parameters:
I- input dataO- output data- Parameters:
engine- the reactive enginestage- the stage- Returns:
- the created processing stage, should never be
null
-