| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Publisher | |
| pack-priv final Supplier |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| boundary | back to summary |
|---|---|
| pack-priv final Publisher<B> boundary | |
| bufferSupplier | back to summary |
|---|---|
| pack-priv final Supplier<U> bufferSupplier | |
| FlowableBufferExactBoundary | back to summary |
|---|---|
| public FlowableBufferExactBoundary(Flowable<T> source, Publisher<B> boundary, Supplier<U> bufferSupplier) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(Subscriber<? super U> s)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final FlowableBufferExactBoundary. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(B
the element signaled t)Implements org. Publisher in response to requests to Subscription#request(long).
|
| parent | back to summary |
|---|---|
| pack-priv final FlowableBufferExactBoundary. | |
| BufferBoundarySubscriber | back to summary |
|---|---|
| pack-priv BufferBoundarySubscriber(FlowableBufferExactBoundary. | |
| 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(B t) Implements org. Doc from org. Data notification sent by the
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Publisher | |
| pack-priv U | |
| pack-priv final Supplier | |
| pack-priv Disposable | |
| pack-priv Subscription |
| Access | Constructor and Description |
|---|---|
| pack-priv | BufferExactBoundarySubscriber(Subscriber<? super U> actual, Supplier<U> bufferSupplier, Publisher<B> boundary)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accept(Subscriber<? super U>
the subscriber a, U the value v)Overrides io. Implements io. |
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| 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).
|
| 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.
|
| boundary | back to summary |
|---|---|
| pack-priv final Publisher<B> boundary | |
| buffer | back to summary |
|---|---|
| pack-priv U buffer | |
| bufferSupplier | back to summary |
|---|---|
| pack-priv final Supplier<U> bufferSupplier | |
| other | back to summary |
|---|---|
| pack-priv Disposable other | |
| upstream | back to summary |
|---|---|
| pack-priv Subscription upstream | |
| BufferExactBoundarySubscriber | back to summary |
|---|---|
| pack-priv BufferExactBoundarySubscriber(Subscriber<? super U> actual, Supplier<U> bufferSupplier, Publisher<B> boundary) | |
| accept | back to summary |
|---|---|
| public boolean accept(Subscriber<? super U> a, U v) Overrides io. Implements io. Doc from io. Accept the value and return true if forwarded.
| |
| 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.
| |
| 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.
| |
| next | back to summary |
|---|---|
| pack-priv void next() | |
| 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
| |
| 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 | |