| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function | |
| pack-priv final MaybeSource |
| Access | Constructor and Description |
|---|---|
| public | MaybeFlatMapIterableObservable(MaybeSource<T> source, Function<? super T, ? extends Iterable<? extends R>> mapper)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(Observer<? super R>
the incoming Observer, never null observer)Implements abstract io. Observers.
|
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Iterable<? extends R>> mapper | |
| source | back to summary |
|---|---|
| pack-priv final MaybeSource<T> source | |
| MaybeFlatMapIterableObservable | back to summary |
|---|---|
| public MaybeFlatMapIterableObservable(MaybeSource<T> source, Function<? super T, ? extends Iterable<? extends R>> mapper) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(Observer<? super R> 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 |
|---|---|
| pack-priv volatile boolean | |
| pack-priv final Observer | |
| pack-priv volatile Iterator | |
| pack-priv final Function | |
| pack-priv boolean | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv | FlatMapIterableObserver(Observer<? super R> actual, Function<? super T, ? extends Iterable<? extends R>> mapper)
|
| 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. |
| 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.
|
| public R | poll()
Implements io. |
| public int | requestFusion(int mode)
Implements io. |
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| downstream | back to summary |
|---|---|
| pack-priv final Observer<? super R> downstream | |
| it | back to summary |
|---|---|
| pack-priv volatile Iterator<? extends R> it | |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Iterable<? extends R>> mapper | |
| outputFused | back to summary |
|---|---|
| pack-priv boolean outputFused | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| FlatMapIterableObserver | back to summary |
|---|---|
| pack-priv FlatMapIterableObserver(Observer<? super R> actual, Function<? super T, ? extends Iterable<? extends R>> mapper) | |
| 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. 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
| |
| poll | back to summary |
|---|---|
| public R poll() throws Exception 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
| |