| 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 T | Returns: the first value or null if the source is emptyBlock until the first value arrives and return it, otherwise return null for an empty source and rethrow any exception. |
| pack-priv final T | Returns: the first value or null if the source is emptythe timeout to wait timeout, TimeUnit the time unit unit)Block until the first value arrives and return it, otherwise return null for an empty source and rethrow any exception. |
| 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 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. |
| 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 | |
| BlockingSingleSubscriber | back to summary |
|---|---|
| pack-priv BlockingSingleSubscriber(Context context) | |
| blockingGet | back to summary |
|---|---|
| pack-priv final T blockingGet() Block until the first value arrives and return it, otherwise return null for an empty source and rethrow any exception.
| |
| blockingGet | back to summary |
|---|---|
| pack-priv final T blockingGet(long timeout, TimeUnit unit) Block until the first value arrives and return it, otherwise return null for an empty source and rethrow any exception. | |
| 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
| |
| 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 | |