| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final MaybeSource |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static < the value type T> MaybeObserver | Returns: the new MaybeObserver instancethe downstream downstream)Observer to talk toCreates a |
| public MaybeSource | source()
Implements io. |
| protected void | subscribeActual(Observer<? super T>
the incoming Observer, never null observer)Implements abstract io. Observers.
|
| source | back to summary |
|---|---|
| pack-priv final MaybeSource<T> source | |
| MaybeToObservable | back to summary |
|---|---|
| public MaybeToObservable(MaybeSource<T> source) | |
| create | back to summary |
|---|---|
| public static <T> MaybeObserver Creates a History: 2.1.11 - experimental
| |
| source | back to summary |
|---|---|
| public MaybeSource Implements io. Doc from io. Returns the upstream source of this Maybe. Allows discovering the chain of observables.
| |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(Observer<? super T> observer) Implements abstract io. Doc from io. Operator implementations (both source and intermediate) should implement this method that
performs the necessary business logic and handles the incoming There is no need to call any of the plugin hooks on the current | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Overrides io. Implements io. |
| public void | onComplete()
Implements io. |
| public void | onError(Throwable
the exception encountered by the Maybe e)Implements io. Maybe has experienced an error condition.
|
| public void | onSubscribe(Disposable
the Disposable instance whose d)Disposable#dispose() can
be called anytime to cancel the connectionImplements io. onSubscribe(Disposable) itself) and asynchronous manner.
|
| public void | onSuccess(T
the item emitted by the Maybe value)Implements io. Maybe has finished sending
push-based notifications.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| MaybeToObservableObserver | back to summary |
|---|---|
| pack-priv MaybeToObservableObserver(Observer<? super T> downstream) | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides io. Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Called once the deferred computation completes normally.
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements io. Doc from io. Notifies the MaybeObserver that the
If the | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Disposable d) Implements io. Doc from io. Provides the MaybeObserver with the means of cancelling (disposing) the
connection (channel) with the Maybe in both
synchronous (from within
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T value) Implements io. Doc from io. Notifies the MaybeObserver with one item and that the
The
| |