| Package | Description |
|---|---|
| io.helidon.common.reactive |
Common reactive library for Helidon projects.
|
| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
Flow.Processor<T,R> |
A component that acts as both a Subscriber and Publisher.
|
| Modifier and Type | Method | Description |
|---|---|---|
Flow.Subscriber<? super T> |
SingleSubscriberHolder.get() |
Get the stored subscriber.
|
static <T> Flow.Subscriber<T> |
ReactiveStreamsAdapter.subscriberToFlow(org.reactivestreams.Subscriber<T> subscriber) |
Return a
Flow.Subscriber from a Subscriber. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
SingleSubscriberHolder.register(Flow.Subscriber<? super T> subscriber) |
Register a new subscriber.
|
void |
Flow.Publisher.subscribe(Flow.Subscriber<? super T> subscriber) |
Adds the given Subscriber if possible.
|
void |
OutputStreamPublisher.subscribe(Flow.Subscriber<? super java.nio.ByteBuffer> subscriberParam) |
|
void |
SubmissionPublisher.subscribe(Flow.Subscriber<? super T> subscriber) |
Adds the given Subscriber.
|
static <T> org.reactivestreams.Subscriber<T> |
ReactiveStreamsAdapter.subscriberFromFlow(Flow.Subscriber<T> subscriber) |
Return a
Subscriber from a Flow.Subscriber. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
SingleSubscriberHolder.close(java.util.function.Consumer<Flow.Subscriber<? super T>> completionHandler) |
Mark the subscriber holder as closed.
|
void |
SubmissionPublisher.offer(T item,
java.util.function.BiPredicate<Flow.Subscriber<? super T>,? super T> onDrop) |
Publishes the given item to each current subscriber.
|
Copyright © 2018 Oracle Corporation. All rights reserved.