| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final BiConsumer | |
| pack-priv final Supplier | |
| pack-priv final ParallelFlowable |
| Access | Constructor and Description |
|---|---|
| public | ParallelCollect(ParallelFlowable<? extends T> source, Supplier<? extends C> initialCollection, BiConsumer<? super C, ? super T> collector)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | parallelism()
Implements abstract io. Subscribers.
|
| pack-priv void | |
| public void |
| collector | back to summary |
|---|---|
| pack-priv final BiConsumer<? super C, ? super T> collector | |
| initialCollection | back to summary |
|---|---|
| pack-priv final Supplier<? extends C> initialCollection | |
| source | back to summary |
|---|---|
| pack-priv final ParallelFlowable<? extends T> source | |
| ParallelCollect | back to summary |
|---|---|
| public ParallelCollect(ParallelFlowable<? extends T> source, Supplier<? extends C> initialCollection, BiConsumer<? super C, ? super T> collector) | |
| parallelism | back to summary |
|---|---|
| public int parallelism() Implements abstract io. Doc from io. Returns the number of expected parallel
| |
| reportError | back to summary |
|---|---|
| pack-priv void reportError(Subscriber<?>[] subscribers, Throwable ex) | |
| subscribe | back to summary |
|---|---|
public void subscribe(Subscriber<? super C>[] subscribers)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv C | |
| pack-priv final BiConsumer | |
| pack-priv boolean | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | ParallelCollectSubscriber(Subscriber<? super C> subscriber, C initialValue, BiConsumer<? super C, ? super T> collector)
|
| collection | back to summary |
|---|---|
| pack-priv C collection | |
| collector | back to summary |
|---|---|
| pack-priv final BiConsumer<? super C, ? super T> collector | |
| done | back to summary |
|---|---|
| pack-priv boolean done | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides io. | |
| ParallelCollectSubscriber | back to summary |
|---|---|
| pack-priv ParallelCollectSubscriber(Subscriber<? super C> subscriber, C initialValue, BiConsumer<? super C, ? super T> collector) | |
| cancel | back to summary |
|---|---|
| public void cancel() Overrides io. Implements org. Doc from org. Request the Data may still be sent to meet previously signalled demand after calling cancel.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Overrides io. 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) Overrides io. 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) Overrides io. Implements org. Doc from org. Invoked after calling
No data will start flowing until
It is the responsibility of this
The
| |