History: 2.0.1 - experimental
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Action |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| onFinally | back to summary |
|---|---|
| pack-priv final Action onFinally | |
| ObservableDoFinally | back to summary |
|---|---|
| public ObservableDoFinally(ObservableSource<T> source, Action onFinally) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(Observer<? super T> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Observer | |
| pack-priv final Action | |
| pack-priv QueueDisposable | |
| private static final long | |
| pack-priv boolean | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements io. |
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public boolean | isEmpty()
Implements io. |
| public void | onComplete()
Implements io. Observer that the Observable has finished sending push-based notifications.
|
| public void | |
| public void | onNext(T
the item emitted by the Observable t)Implements io. Observer with a new item to observe.
|
| public void | |
| public T | poll()
Implements io. |
| public int | requestFusion(int mode)
Implements io. |
| pack-priv void |
| downstream | back to summary |
|---|---|
| pack-priv final Observer<? super T> downstream | |
| onFinally | back to summary |
|---|---|
| pack-priv final Action onFinally | |
| qd | back to summary |
|---|---|
| pack-priv QueueDisposable<T> qd | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| syncFused | back to summary |
|---|---|
| pack-priv boolean syncFused | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| DoFinallyObserver | back to summary |
|---|---|
| pack-priv DoFinallyObserver(Observer<? super T> actual, Action onFinally) | |
| clear | back to summary |
|---|---|
| public void clear() Implements io. Doc from io. Removes all enqueued items from this queue.
| |
| 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.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements io. Doc from io. Returns true if the queue is empty.
Note however that due to potential fused functions in
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Notifies the
The
| |
| onError | back to summary |
|---|---|
public void onError(Throwable t)
| |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements io. Doc from io. Provides the
The
The
| |
| onSubscribe | back to summary |
|---|---|
public void onSubscribe(Disposable d)
| |
| poll | back to summary |
|---|---|
| public T poll() throws Throwable Implements io. Doc from io. Tries to dequeue a value (non-null) or returns null if the queue is empty.
If the producer uses | |
| requestFusion | back to summary |
|---|---|
| public int requestFusion(int mode) Implements io. Doc from io. Request a fusion mode from the upstream.
This should be called before
Calling this method multiple times or after
| |
| runFinally | back to summary |
|---|---|
| pack-priv void runFinally() | |