Package io.helidon.microprofile.reactive
Class HelidonReactiveStreamsEngine
java.lang.Object
io.helidon.microprofile.reactive.HelidonReactiveStreamsEngine
- All Implemented Interfaces:
ReactiveStreamsEngine
Implementation of
Reactive Streams with operators
backed by Helidon reactive streams.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HelidonReactiveStreamsEngineThe singleton instance. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> CompletionStage<T> buildCompletion(Graph graph) <T,R> Processor <T, R> buildProcessor(Graph graph) <T> Publisher<T> buildPublisher(Graph graph) <T,R> SubscriberWithCompletionStage <T, R> buildSubscriber(Graph graph) static voidsetCoupledExecutor(ExecutorService executor) Override the ExecutorService used by the cross-termination and cross-cancellation of a Coupled stage.
-
Field Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
HelidonReactiveStreamsEngine
public HelidonReactiveStreamsEngine()
-
-
Method Details
-
buildPublisher
- Specified by:
buildPublisherin interfaceReactiveStreamsEngine- Throws:
UnsupportedStageException
-
buildSubscriber
public <T,R> SubscriberWithCompletionStage<T,R> buildSubscriber(Graph graph) throws UnsupportedStageException - Specified by:
buildSubscriberin interfaceReactiveStreamsEngine- Throws:
UnsupportedStageException
-
buildProcessor
- Specified by:
buildProcessorin interfaceReactiveStreamsEngine- Throws:
UnsupportedStageException
-
buildCompletion
- Specified by:
buildCompletionin interfaceReactiveStreamsEngine- Throws:
UnsupportedStageException
-
setCoupledExecutor
Override the ExecutorService used by the cross-termination and cross-cancellation of a Coupled stage.- Parameters:
executor- the executor to use, null resets it to the default ForkJoinPool
-