| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Publisher |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| publisher | back to summary |
|---|---|
| pack-priv final Publisher<? extends T> publisher | |
| SingleFromPublisher | back to summary |
|---|---|
| public SingleFromPublisher(Publisher<? extends T> publisher) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(final SingleObserver<? super T> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile boolean | |
| pack-priv boolean | |
| pack-priv final SingleObserver | |
| pack-priv Subscription | |
| pack-priv T |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public 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 void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements org. Publisher#subscribe(Subscriber).
|
| disposed | back to summary |
|---|---|
| pack-priv volatile boolean disposed | |
| done | back to summary |
|---|---|
| pack-priv boolean done | |
| downstream | back to summary |
|---|---|
| pack-priv final SingleObserver<? super T> downstream | |
| upstream | back to summary |
|---|---|
| pack-priv Subscription upstream | |
| value | back to summary |
|---|---|
| pack-priv T value | |
| ToSingleObserver | back to summary |
|---|---|
| pack-priv ToSingleObserver(SingleObserver<? super T> downstream) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements io. Doc from io. Returns true if this resource has been disposed.
| |
| onComplete | back to summary |
|---|---|
| public 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 void onSubscribe(Subscription s) Implements org. Doc from org. Invoked after calling
No data will start flowing until
It is the responsibility of this
The
| |