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
Modifier and TypeFieldDescriptionstatic final HelidonReactiveStreamsEngine
The singleton instance. -
Constructor Summary
-
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 void
setCoupledExecutor
(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:
buildPublisher
in interfaceReactiveStreamsEngine
- Throws:
UnsupportedStageException
-
buildSubscriber
public <T,R> SubscriberWithCompletionStage<T,R> buildSubscriber(Graph graph) throws UnsupportedStageException - Specified by:
buildSubscriber
in interfaceReactiveStreamsEngine
- Throws:
UnsupportedStageException
-
buildProcessor
- Specified by:
buildProcessor
in interfaceReactiveStreamsEngine
- Throws:
UnsupportedStageException
-
buildCompletion
- Specified by:
buildCompletion
in 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
-