| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv abstract static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | subscribeActual(Subscriber<? super T>
the incoming Subscriber, never null s)Implements abstract io. Subscribers.
|
| array | back to summary |
|---|---|
| pack-priv final T[] array | |
| FlowableFromArray | back to summary |
|---|---|
| public FlowableFromArray(T[] array) | |
| subscribeActual | back to summary |
|---|---|
| public void subscribeActual(Subscriber<? super T> 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
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ConditionalSubscriber | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | slowPath(long r)
Implements abstract io. |
| downstream | back to summary |
|---|---|
| pack-priv final ConditionalSubscriber<? super T> downstream | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| ArrayConditionalSubscription | back to summary |
|---|---|
| pack-priv ArrayConditionalSubscription(ConditionalSubscriber<? super T> actual, T[] array) | |
| fastPath | back to summary |
|---|---|
| pack-priv void fastPath() Implements abstract io.
| |
| slowPath | back to summary |
|---|---|
| pack-priv void slowPath(long r) Implements abstract io.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Subscriber | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | slowPath(long r)
Implements abstract io. |
| downstream | back to summary |
|---|---|
| pack-priv final Subscriber<? super T> downstream | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| ArraySubscription | back to summary |
|---|---|
| pack-priv ArraySubscription(Subscriber<? super T> actual, T[] array) | |
| fastPath | back to summary |
|---|---|
| pack-priv void fastPath() Implements abstract io.
| |
| slowPath | back to summary |
|---|---|
| pack-priv void slowPath(long r) Implements abstract io.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T[] | |
| pack-priv volatile boolean | |
| pack-priv int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| public final void | clear()
Implements io. |
| pack-priv abstract void | |
| public final boolean | isEmpty()
Implements io. |
| public final T | poll()
Implements io. |
| public final 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.
|
| public final int | requestFusion(int mode)
Implements io. |
| pack-priv abstract void |
| array | back to summary |
|---|---|
| pack-priv final T[] array | |
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| index | back to summary |
|---|---|
| pack-priv int index | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| BaseArraySubscription | back to summary |
|---|---|
| pack-priv BaseArraySubscription(T[] array) | |
| cancel | back to summary |
|---|---|
| public final void cancel() Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| clear | back to summary |
|---|---|
| public final void clear() Implements io. Doc from io. Removes all enqueued items from this queue.
| |
| fastPath | back to summary |
|---|---|
| pack-priv abstract void fastPath() | |
| isEmpty | back to summary |
|---|---|
| public final boolean isEmpty() Implements io. Doc from io. Returns true if the queue is empty.
Note however that due to potential fused functions in
| |
| poll | back to summary |
|---|---|
| public final T poll() Implements io. Doc from io. Tries to dequeue a value (non-null) or returns null if the queue is empty.
If the producer uses | |
| request | back to summary |
|---|---|
| public final 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 | |
| requestFusion | back to summary |
|---|---|
| public final 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
| |
| slowPath | back to summary |
|---|---|
| pack-priv abstract void slowPath(long r) | |