| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final boolean | |
| pack-priv final Function | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| public | FlowableFlatMap(Flowable<T> source, Function<? super T, ? extends Publisher<? extends U>> mapper, boolean delayErrors, int maxConcurrency, int bufferSize)
|
| Modifier and Type | Method and Description |
|---|---|
| public static <T, U> FlowableSubscriber | subscribe(Subscriber<? super U> s, Function<? super T, ? extends Publisher<? extends U>> mapper, boolean delayErrors, int maxConcurrency, int bufferSize)
|
| protected void |
| bufferSize | back to summary |
|---|---|
| pack-priv final int bufferSize | |
| delayErrors | back to summary |
|---|---|
| pack-priv final boolean delayErrors | |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Publisher<? extends U>> mapper | |
| maxConcurrency | back to summary |
|---|---|
| pack-priv final int maxConcurrency | |
| FlowableFlatMap | back to summary |
|---|---|
| public FlowableFlatMap(Flowable<T> source, Function<? super T, ? extends Publisher<? extends U>> mapper, boolean delayErrors, int maxConcurrency, int bufferSize) | |
| subscribe | back to summary |
|---|---|
| public static <T, U> FlowableSubscriber | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(Subscriber<? super U> s)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv volatile boolean | |
| pack-priv int | |
| pack-priv final long | |
| pack-priv final int | |
| pack-priv final FlowableFlatMap. | |
| pack-priv long | |
| pack-priv volatile SimpleQueue | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(U
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 org. Publisher#subscribe(Subscriber).
|
| pack-priv void |
| bufferSize | back to summary |
|---|---|
| pack-priv final int bufferSize | |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| fusionMode | back to summary |
|---|---|
| pack-priv int fusionMode | |
| id | back to summary |
|---|---|
| pack-priv final long id | |
| limit | back to summary |
|---|---|
| pack-priv final int limit | |
| parent | back to summary |
|---|---|
| pack-priv final FlowableFlatMap. | |
| produced | back to summary |
|---|---|
| pack-priv long produced | |
| queue | back to summary |
|---|---|
| pack-priv volatile SimpleQueue<U> queue | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| InnerSubscriber | back to summary |
|---|---|
| pack-priv InnerSubscriber(FlowableFlatMap. | |
| 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.
| |
| 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(U t) Implements org. Doc from org. Data notification sent by the
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription s) Implements org. Doc from org. Invoked after calling
No data will start flowing until
It is the responsibility of this
The
| |
| requestMore | back to summary |
|---|---|
| pack-priv void requestMore(long n) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv volatile boolean | |
| pack-priv static final FlowableFlatMap. | |
| pack-priv final boolean | |
| pack-priv volatile boolean | |
| pack-priv final Subscriber | |
| pack-priv static final FlowableFlatMap. | |
| pack-priv final AtomicThrowable | |
| pack-priv long | |
| pack-priv int | |
| pack-priv final Function | |
| pack-priv final int | |
| pack-priv volatile SimplePlainQueue | |
| pack-priv final AtomicLong | |
| pack-priv int | |
| pack-priv final int | |
| private static final long | |
| pack-priv final AtomicReference | |
| pack-priv long | |
| pack-priv Subscription |
| Access | Constructor and Description |
|---|---|
| pack-priv | MergeSubscriber(Subscriber<? super U> actual, Function<? super T, ? extends Publisher<? extends U>> mapper, boolean delayErrors, int maxConcurrency, int bufferSize)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv SimpleQueue | |
| pack-priv void | |
| 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 org. Publisher#subscribe(Subscriber).
|
| pack-priv void | |
| public void | request(long
the strictly positive number of elements to requests to the upstream n)PublisherImplements org. Publisher until demand is signaled via this method.
|
| pack-priv void | |
| pack-priv void |
| bufferSize | back to summary |
|---|---|
| pack-priv final int bufferSize | |
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| CANCELLED | back to summary |
|---|---|
| pack-priv static final FlowableFlatMap. | |
| delayErrors | back to summary |
|---|---|
| pack-priv final boolean delayErrors | |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| downstream | back to summary |
|---|---|
| pack-priv final Subscriber<? super U> downstream | |
| EMPTY | back to summary |
|---|---|
| pack-priv static final FlowableFlatMap. | |
| errors | back to summary |
|---|---|
| pack-priv final AtomicThrowable errors | |
| lastId | back to summary |
|---|---|
| pack-priv long lastId | |
| lastIndex | back to summary |
|---|---|
| pack-priv int lastIndex | |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Publisher<? extends U>> mapper | |
| maxConcurrency | back to summary |
|---|---|
| pack-priv final int maxConcurrency | |
| queue | back to summary |
|---|---|
| pack-priv volatile SimplePlainQueue<U> queue | |
| requested | back to summary |
|---|---|
| pack-priv final AtomicLong requested | |
| scalarEmitted | back to summary |
|---|---|
| pack-priv int scalarEmitted | |
| scalarLimit | back to summary |
|---|---|
| pack-priv final int scalarLimit | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| subscribers | back to summary |
|---|---|
| pack-priv final AtomicReference<FlowableFlatMap. | |
| uniqueId | back to summary |
|---|---|
| pack-priv long uniqueId | |
| upstream | back to summary |
|---|---|
| pack-priv Subscription upstream | |
| MergeSubscriber | back to summary |
|---|---|
| pack-priv MergeSubscriber(Subscriber<? super U> actual, Function<? super T, ? extends Publisher<? extends U>> mapper, boolean delayErrors, int maxConcurrency, int bufferSize) | |
| addInner | back to summary |
|---|---|
| pack-priv boolean addInner(FlowableFlatMap. | |
| cancel | back to summary |
|---|---|
| public void cancel() Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| checkTerminate | back to summary |
|---|---|
| pack-priv boolean checkTerminate() | |
| clearScalarQueue | back to summary |
|---|---|
| pack-priv void clearScalarQueue() | |
| disposeAll | back to summary |
|---|---|
| pack-priv void disposeAll() | |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| drainLoop | back to summary |
|---|---|
| pack-priv void drainLoop() | |
| getMainQueue | back to summary |
|---|---|
| pack-priv SimpleQueue | |
| innerError | back to summary |
|---|---|
| pack-priv void innerError(FlowableFlatMap. | |
| 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 org. Doc from org. Invoked after calling
No data will start flowing until
It is the responsibility of this
The
| |
| removeInner | back to summary |
|---|---|
| pack-priv void removeInner(FlowableFlatMap. | |
| request | back to summary |
|---|---|
| public void request(long n) Implements org. Doc from org. No events will be sent by a
It can be called however often and whenever needed—but if the outstanding cumulative demand ever becomes Long.MAX_VALUE or more,
it may be treated by the
Whatever has been requested can be sent by the
A | |
| tryEmit | back to summary |
|---|---|
| pack-priv void tryEmit(U value, FlowableFlatMap. | |
| tryEmitScalar | back to summary |
|---|---|
| pack-priv void tryEmitScalar(U value) | |