| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function | |
| pack-priv final Publisher | |
| pack-priv final Iterable |
| Access | Constructor and Description |
|---|---|
| public | FlowableWithLatestFromMany(Flowable<T> source, Publisher<?>[] otherArray, Function<? super Object[], R> combiner)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(Subscriber<? super R>
the incoming Subscriber, never null s)Implements abstract io. Subscribers.
|
| combiner | back to summary |
|---|---|
| pack-priv final Function<? super Object[], R> combiner | |
| otherArray | back to summary |
|---|---|
| pack-priv final Publisher<?>[] otherArray
| |
| otherIterable | back to summary |
|---|---|
| pack-priv final Iterable<? extends Publisher<?>> otherIterable
| |
| FlowableWithLatestFromMany | back to summary |
|---|---|
| public FlowableWithLatestFromMany(Flowable<T> source, Publisher<?>[] otherArray, Function<? super Object[], R> combiner) | |
| FlowableWithLatestFromMany | back to summary |
|---|---|
| public FlowableWithLatestFromMany(Flowable<T> source, Iterable<? extends Publisher<?>> otherIterable, Function<? super Object[], R> combiner) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(Subscriber<? super R> 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
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public R | apply(T
the input value t)Implements io. |
| SingletonArrayFunc | back to summary |
|---|---|
| pack-priv SingletonArrayFunc() | |
| apply | back to summary |
|---|---|
| public R apply(T t) throws Exception Implements io. Doc from io. Apply some calculation to the input value and return some other value. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function | |
| pack-priv volatile boolean | |
| pack-priv final Subscriber | |
| pack-priv final AtomicThrowable | |
| pack-priv final AtomicLong | |
| private static final long | |
| pack-priv final FlowableWithLatestFromMany. | |
| pack-priv final AtomicReference | |
| pack-priv final AtomicReferenceArray |
| Access | Constructor and Description |
|---|---|
| pack-priv | WithLatestFromSubscriber(Subscriber<? super R> actual, Function<? super Object[], R> combiner, int n)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| 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 io. onNext(Object) is established before
calling Subscription#request(long).
|
| 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 | |
| public boolean | tryOnNext(T
the value to deliver t)Implements io. |
| combiner | back to summary |
|---|---|
| pack-priv final Function<? super Object[], R> combiner | |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| downstream | back to summary |
|---|---|
| pack-priv final Subscriber<? super R> downstream | |
| error | back to summary |
|---|---|
| pack-priv final AtomicThrowable error | |
| requested | back to summary |
|---|---|
| pack-priv final AtomicLong requested | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| subscribers | back to summary |
|---|---|
| pack-priv final FlowableWithLatestFromMany. | |
| upstream | back to summary |
|---|---|
| pack-priv final AtomicReference<Subscription> upstream | |
| values | back to summary |
|---|---|
| pack-priv final AtomicReferenceArray<Object> values | |
| WithLatestFromSubscriber | back to summary |
|---|---|
| pack-priv WithLatestFromSubscriber(Subscriber<? super R> actual, Function<? super Object[], R> combiner, int n) | |
| 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.
| |
| cancelAllBut | back to summary |
|---|---|
| pack-priv void cancelAllBut(int index) | |
| innerComplete | back to summary |
|---|---|
| pack-priv void innerComplete(int index, boolean nonEmpty) | |
| innerError | back to summary |
|---|---|
| pack-priv void innerError(int index, Throwable t) | |
| innerNext | back to summary |
|---|---|
| pack-priv void innerNext(int index, Object o) | |
| 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
| |
| 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 | |
| subscribe | back to summary |
|---|---|
| pack-priv void subscribe(Publisher<?>[] others, int n) | |
| tryOnNext | back to summary |
|---|---|
| public boolean tryOnNext(T t) Implements io. Doc from io. Conditionally takes the value.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv final int | |
| pack-priv final FlowableWithLatestFromMany. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | WithLatestInnerSubscriber(FlowableWithLatestFromMany.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(Object
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).
|
| hasValue | back to summary |
|---|---|
| pack-priv boolean hasValue | |
| index | back to summary |
|---|---|
| pack-priv final int index | |
| parent | back to summary |
|---|---|
| pack-priv final FlowableWithLatestFromMany. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| WithLatestInnerSubscriber | back to summary |
|---|---|
| pack-priv WithLatestInnerSubscriber(FlowableWithLatestFromMany. | |
| dispose | back to summary |
|---|---|
| pack-priv void dispose() | |
| 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(Object 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
| |