| Modifier and Type | Class and Description |
|---|---|
| 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 Supplier |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| bufferClose | back to summary |
|---|---|
| pack-priv final Function<? super Open, ? extends Publisher<? extends Close>> bufferClose | |
| bufferOpen | back to summary |
|---|---|
| pack-priv final Publisher<? extends Open> bufferOpen | |
| bufferSupplier | back to summary |
|---|---|
| pack-priv final Supplier<U> bufferSupplier | |
| FlowableBufferBoundary | back to summary |
|---|---|
| public FlowableBufferBoundary(Flowable<T> source, Publisher<? extends Open> bufferOpen, Function<? super Open, ? extends Publisher<? extends Close>> bufferClose, Supplier<U> bufferSupplier) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(Subscriber<? super U> s)
| |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function | |
| pack-priv final Publisher | |
| pack-priv Map | |
| pack-priv final Supplier | |
| pack-priv volatile boolean | |
| pack-priv volatile boolean | |
| pack-priv final Subscriber | |
| pack-priv long | |
| pack-priv final AtomicThrowable | |
| pack-priv long | |
| pack-priv final SpscLinkedArrayQueue | |
| pack-priv final AtomicLong | |
| private static final long | |
| pack-priv final CompositeDisposable | |
| pack-priv final AtomicReference |
| Access | Constructor and Description |
|---|---|
| pack-priv | BufferBoundarySubscriber(Subscriber<? super C> actual, Publisher<? extends Open> bufferOpen, Function<? super Open, ? extends Publisher<? extends Close>> bufferClose, Supplier<C> bufferSupplier)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | cancel()
Implements org. Publisher to stop sending data and clean up resources.
|
| 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 org. Publisher#subscribe(Subscriber).
|
| pack-priv void | |
| 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.
|
| bufferClose | back to summary |
|---|---|
| pack-priv final Function<? super Open, ? extends Publisher<? extends Close>> bufferClose | |
| bufferOpen | back to summary |
|---|---|
| pack-priv final Publisher<? extends Open> bufferOpen | |
| buffers | back to summary |
|---|---|
| pack-priv Map<Long, C> buffers | |
| bufferSupplier | back to summary |
|---|---|
| pack-priv final Supplier<C> bufferSupplier | |
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| downstream | back to summary |
|---|---|
| pack-priv final Subscriber<? super C> downstream | |
| emitted | back to summary |
|---|---|
| pack-priv long emitted | |
| errors | back to summary |
|---|---|
| pack-priv final AtomicThrowable errors | |
| index | back to summary |
|---|---|
| pack-priv long index | |
| queue | back to summary |
|---|---|
| pack-priv final SpscLinkedArrayQueue<C> queue | |
| 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 CompositeDisposable subscribers | |
| upstream | back to summary |
|---|---|
| pack-priv final AtomicReference<Subscription> upstream | |
| BufferBoundarySubscriber | back to summary |
|---|---|
| pack-priv BufferBoundarySubscriber(Subscriber<? super C> actual, Publisher<? extends Open> bufferOpen, Function<? super Open, ? extends Publisher<? extends Close>> bufferClose, Supplier<C> bufferSupplier) | |
| boundaryError | back to summary |
|---|---|
| pack-priv void boundaryError(Disposable subscriber, Throwable ex) | |
| 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.
| |
| close | back to summary |
|---|---|
| pack-priv void close(FlowableBufferBoundary. | |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| 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
| |
| open | back to summary |
|---|---|
| pack-priv void open(Open token) | |
| openComplete | back to summary |
|---|---|
| pack-priv void openComplete(FlowableBufferBoundary. | |
| 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 | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final FlowableBufferBoundary. | |
| 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(Open
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).
|
| parent | back to summary |
|---|---|
| pack-priv final FlowableBufferBoundary. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| BufferOpenSubscriber | back to summary |
|---|---|
| pack-priv BufferOpenSubscriber(FlowableBufferBoundary. | |
| 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(Open 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
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final long | |
| pack-priv final FlowableBufferBoundary. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | BufferCloseSubscriber(FlowableBufferBoundary.
|
| 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(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 org. Publisher#subscribe(Subscriber).
|
| index | back to summary |
|---|---|
| pack-priv final long index | |
| parent | back to summary |
|---|---|
| pack-priv final FlowableBufferBoundary. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| BufferCloseSubscriber | back to summary |
|---|---|
| pack-priv BufferCloseSubscriber(FlowableBufferBoundary. | |
| 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(Object 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
| |