| 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 | subscribeActual(Subscriber<? super T>
the incoming Subscriber, never null s)Implements abstract io. Subscribers.
|
| other | back to summary |
|---|---|
| pack-priv final Publisher<? extends T> other | |
| FlowableSwitchIfEmpty | back to summary |
|---|---|
| public FlowableSwitchIfEmpty(Flowable<T> source, Publisher<? extends T> other) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(Subscriber<? super T> s) 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 |
|---|---|
| pack-priv final SubscriptionArbiter | |
| pack-priv final Subscriber | |
| pack-priv boolean | |
| pack-priv final Publisher |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| 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 io. onNext(Object) is established before
calling Subscription#request(long).
|
| arbiter | back to summary |
|---|---|
| pack-priv final SubscriptionArbiter arbiter | |
| downstream | back to summary |
|---|---|
| pack-priv final Subscriber<? super T> downstream | |
| empty | back to summary |
|---|---|
| pack-priv boolean empty | |
| other | back to summary |
|---|---|
| pack-priv final Publisher<? extends T> other | |
| SwitchIfEmptySubscriber | back to summary |
|---|---|
| pack-priv SwitchIfEmptySubscriber(Subscriber<? super T> actual, Publisher<? extends T> other) | |
| 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 io. Doc from io. Implementors of this method should make sure everything that needs
to be visible in
No data will start flowing until
It is the responsibility of this
The
| |