| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | OperatorSwitch.Holder
Lazy initialization via inner-class holder. |
| pack-priv static class | OperatorSwitch.HolderDelayError
Lazy initialization via inner-class holder. |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Subscriber | |
| public static < the value type T> OperatorSwitch | Returns: a singleton instance of this stateless operator.should the errors of the inner sources delayed until the main sequence completes? delayError)Returns a singleton instance of the operator based on the delayError parameter. |
| delayError | back to summary |
|---|---|
| pack-priv final boolean delayError | |
| OperatorSwitch | back to summary |
|---|---|
| pack-priv OperatorSwitch(boolean delayError) | |
| call | back to summary |
|---|---|
| public Subscriber Implements rx.
| |
| instance | back to summary |
|---|---|
| public static <T> OperatorSwitch Returns a singleton instance of the operator based on the delayError parameter.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final OperatorSwitch | INSTANCE
A singleton instance. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final OperatorSwitch<Object> INSTANCE A singleton instance. | |
| Holder | back to summary |
|---|---|
| pack-priv Holder() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final OperatorSwitch | INSTANCE
A singleton instance. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final OperatorSwitch<Object> INSTANCE A singleton instance. | |
| HolderDelayError | back to summary |
|---|---|
| pack-priv HolderDelayError() | |
| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final OperatorSwitch. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | onCompleted()
Implements rx. Observable has finished sending push-based notifications.
|
| public void | onError(Throwable
the exception encountered by the Observable e)Implements rx. Observable has experienced an error condition.
|
| public void | onNext(T
the item emitted by the Observable t)Implements rx. |
| public void | setProducer(Producer
producer to be used by this subscriber or the other subscriber
(or recursively its other subscriber) to make requests from p)Overrides rx. Subscriber(Subscriber) or
Subscriber(Subscriber, boolean)) then this method calls
setProducer on the other subscriber.
|
| id | back to summary |
|---|---|
| private final long id | |
| parent | back to summary |
|---|---|
| private final OperatorSwitch. | |
| InnerSubscriber | back to summary |
|---|---|
| pack-priv InnerSubscriber(long id, OperatorSwitch. | |
| onCompleted | back to summary |
|---|---|
| public void onCompleted() Implements rx. Doc from rx. Notifies the Observer that the
The
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements rx. Doc from rx. Notifies the Observer that the
If the | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements rx. Doc from rx. Provides the Observer with a new item to observe.
The
The
| |
| setProducer | back to summary |
|---|---|
| public void setProducer(Producer p) Overrides rx. Doc from rx. If other subscriber is set (by calling constructor
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Subscriber | |
| pack-priv final boolean | |
| pack-priv boolean | |
| pack-priv Throwable | |
| pack-priv final AtomicLong | |
| pack-priv boolean | |
| pack-priv volatile boolean | |
| pack-priv boolean | |
| pack-priv Producer | |
| pack-priv final SpscLinkedArrayQueue | |
| pack-priv long | |
| pack-priv final SerialSubscription | |
| pack-priv static final Throwable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | checkTerminated(boolean localMainDone, boolean localInnerActive, Throwable localError, final SpscLinkedArrayQueue<Object> localQueue, final Subscriber<? super T> localChild, boolean empty)
|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public void | onCompleted()
Implements rx. Observable has finished sending push-based notifications.
|
| public void | onError(Throwable
the exception encountered by the Observable e)Implements rx. Observable has experienced an error condition.
|
| public void | onNext(Observable<? extends T>
the item emitted by the Observable t)Implements rx. |
| pack-priv void | |
| pack-priv boolean |
| child | back to summary |
|---|---|
| pack-priv final Subscriber<? super T> child | |
| delayError | back to summary |
|---|---|
| pack-priv final boolean delayError | |
| emitting | back to summary |
|---|---|
| pack-priv boolean emitting | |
| error | back to summary |
|---|---|
| pack-priv Throwable error | |
| index | back to summary |
|---|---|
| pack-priv final AtomicLong index | |
| innerActive | back to summary |
|---|---|
| pack-priv boolean innerActive | |
| mainDone | back to summary |
|---|---|
| pack-priv volatile boolean mainDone | |
| missed | back to summary |
|---|---|
| pack-priv boolean missed | |
| producer | back to summary |
|---|---|
| pack-priv Producer producer Hides rx. | |
| queue | back to summary |
|---|---|
| pack-priv final SpscLinkedArrayQueue<Object> queue | |
| requested | back to summary |
|---|---|
| pack-priv long requested Hides rx. | |
| serial | back to summary |
|---|---|
| pack-priv final SerialSubscription serial | |
| TERMINAL_ERROR | back to summary |
|---|---|
| pack-priv static final Throwable TERMINAL_ERROR | |
| SwitchSubscriber | back to summary |
|---|---|
| pack-priv SwitchSubscriber(Subscriber<? super T> child, boolean delayError) | |
| checkTerminated | back to summary |
|---|---|
| protected boolean checkTerminated(boolean localMainDone, boolean localInnerActive, Throwable localError, final SpscLinkedArrayQueue<Object> localQueue, final Subscriber<? super T> localChild, boolean empty) | |
| childRequested | back to summary |
|---|---|
| pack-priv void childRequested(long n) | |
| clearProducer | back to summary |
|---|---|
| pack-priv void clearProducer() | |
| complete | back to summary |
|---|---|
| pack-priv void complete(long id) | |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| emit | back to summary |
|---|---|
| pack-priv void emit(T value, OperatorSwitch. | |
| error | back to summary |
|---|---|
| pack-priv void error(Throwable e, long id) | |
| init | back to summary |
|---|---|
| pack-priv void init() | |
| innerProducer | back to summary |
|---|---|
| pack-priv void innerProducer(Producer p, long id) | |
| onCompleted | back to summary |
|---|---|
| public void onCompleted() Implements rx. Doc from rx. Notifies the Observer that the
The
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements rx. Doc from rx. Notifies the Observer that the
If the | |
| onNext | back to summary |
|---|---|
| public void onNext(Observable<? extends T> t) Implements rx. Doc from rx. Provides the Observer with a new item to observe.
The
The
| |
| pluginError | back to summary |
|---|---|
| pack-priv void pluginError(Throwable e) | |
| updateError | back to summary |
|---|---|
| pack-priv boolean updateError(Throwable next) | |