BlockingSingleSubscriber, except blockGet methods return an Optional
and thus aren't nullable.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile boolean | |
| pack-priv final Context | |
| pack-priv Throwable | |
| pack-priv Subscription | |
| pack-priv T |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final Optional | Returns: an Optional representing the first value (or empty Optional if the source is empty)Block until the first value arrives or the source completes empty, and return it
as an |
| pack-priv final Optional | Returns: an Optional representing the first value (or empty Optional if the source is empty)the timeout to wait timeout, TimeUnit the time unit unit)Block until the first value arrives or the source completes empty, and return it
as an |
| public Context | currentContext()
Overrides default reactor. Context from dependent components which can include downstream
operators during subscribing or a terminal org..
|
| public final void | dispose()
Implements reactor. |
| public boolean | isDisposed()
Overrides default reactor. |
| public final void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(T
the element signaled t)Implements org. Publisher in response to requests to Subscription#request(long).
|
| public final void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements reactor. onNext(Object) before
calling Subscription#request(long).
|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Implements reactor. |
| public String |
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| context | back to summary |
|---|---|
| pack-priv final Context context | |
| error | back to summary |
|---|---|
| pack-priv Throwable error | |
| s | back to summary |
|---|---|
| pack-priv Subscription s | |
| value | back to summary |
|---|---|
| pack-priv T value | |
| BlockingOptionalMonoSubscriber | back to summary |
|---|---|
| pack-priv BlockingOptionalMonoSubscriber(Context context) | |
| blockingGet | back to summary |
|---|---|
| pack-priv final Optional Block until the first value arrives or the source completes empty, and return it
as an
| |
| blockingGet | back to summary |
|---|---|
| pack-priv final Optional Block until the first value arrives or the source completes empty, and return it
as an | |
| currentContext | back to summary |
|---|---|
| public Context currentContext() Overrides default reactor. Doc from reactor. Request a
| |
| dispose | back to summary |
|---|---|
| public final void dispose() Implements reactor. Doc from reactor. Cancel or dispose the underlying task or resource. Implementations are required to make this method idempotent.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Overrides default reactor. Doc from reactor. Optionally return true when the resource or task is disposed. Implementations are not required to track disposition and as such may never return true even when disposed. However, they MUST only return true when there's a guarantee the resource or task is disposed.
| |
| onComplete | back to summary |
|---|---|
| public final void onComplete() Implements org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements org. Doc from org. Data notification sent by the
| |
| onSubscribe | back to summary |
|---|---|
| public final void onSubscribe(Subscription s) Implements reactor. Doc from reactor. Implementors should initialize any state used by
Note that an invalid request
No data will start flowing until
It is the responsibility of this
The
| |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Implements reactor. Doc from reactor. This method is used internally by components to define their key-value mappings
in a single place. Although it is ignoring the generic type of the
For public consumption of attributes, prefer using | |
| stepName | back to summary |
|---|---|
| public String stepName() Overrides default reactor. Doc from reactor. Return a meaningful
| |