| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final Function | |
| pack-priv final Publisher |
| Access | Constructor and Description |
|---|---|
| public | FlowableWindowBoundarySelector(Flowable<T> source, Publisher<B> open, Function<? super B, ? extends Publisher<V>> close, int bufferSize)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(Subscriber<? super Flowable<T>>
the incoming Subscriber, never null s)Implements abstract io. Subscribers.
|
| bufferSize | back to summary |
|---|---|
| pack-priv final int bufferSize | |
| close | back to summary |
|---|---|
| pack-priv final Function<? super B, ? extends Publisher<V>> close | |
| open | back to summary |
|---|---|
| pack-priv final Publisher<B> open | |
| FlowableWindowBoundarySelector | back to summary |
|---|---|
| public FlowableWindowBoundarySelector(Flowable<T> source, Publisher<B> open, Function<? super B, ? extends Publisher<V>> close, int bufferSize) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(Subscriber<? super Flowable<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 boolean | |
| pack-priv final FlowableWindowBoundarySelector. | |
| pack-priv final UnicastProcessor |
| 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(V
the element signaled t)Implements org. Publisher in response to requests to Subscription#request(long).
|
| done | back to summary |
|---|---|
| pack-priv boolean done | |
| parent | back to summary |
|---|---|
| pack-priv final FlowableWindowBoundarySelector. | |
| w | back to summary |
|---|---|
| pack-priv final UnicastProcessor<T> w | |
| OperatorWindowBoundaryCloseSubscriber | back to summary |
|---|---|
| pack-priv OperatorWindowBoundaryCloseSubscriber(FlowableWindowBoundarySelector. | |
| 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(V t) Implements org. Doc from org. Data notification sent by the
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final FlowableWindowBoundarySelector. |
| 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 FlowableWindowBoundarySelector. | |
| OperatorWindowBoundaryOpenSubscriber | back to summary |
|---|---|
| pack-priv OperatorWindowBoundaryOpenSubscriber(FlowableWindowBoundarySelector. | |
| 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 AtomicReference | |
| pack-priv final int | |
| pack-priv final Function | |
| pack-priv final Publisher | |
| pack-priv final CompositeDisposable | |
| pack-priv final AtomicBoolean | |
| pack-priv Subscription | |
| pack-priv final AtomicLong | |
| pack-priv final List |
| Access | Constructor and Description |
|---|---|
| pack-priv | WindowBoundaryMainSubscriber(Subscriber<? super Flowable<T>> actual, Publisher<B> open, Function<? super B, ? extends Publisher<V>> close, int bufferSize)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | accept(Subscriber<? super Flowable<T>>
the subscriber a, Object the value v)Overrides io. Implements io. |
| 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).
|
| 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.
|
| boundary | back to summary |
|---|---|
| pack-priv final AtomicReference<Disposable> boundary | |
| bufferSize | back to summary |
|---|---|
| pack-priv final int bufferSize | |
| close | back to summary |
|---|---|
| pack-priv final Function<? super B, ? extends Publisher<V>> close | |
| open | back to summary |
|---|---|
| pack-priv final Publisher<B> open | |
| resources | back to summary |
|---|---|
| pack-priv final CompositeDisposable resources | |
| stopWindows | back to summary |
|---|---|
| pack-priv final AtomicBoolean stopWindows | |
| upstream | back to summary |
|---|---|
| pack-priv Subscription upstream | |
| windows | back to summary |
|---|---|
| pack-priv final AtomicLong windows | |
| ws | back to summary |
|---|---|
| pack-priv final List<UnicastProcessor<T>> ws | |
| WindowBoundaryMainSubscriber | back to summary |
|---|---|
| pack-priv WindowBoundaryMainSubscriber(Subscriber<? super Flowable<T>> actual, Publisher<B> open, Function<? super B, ? extends Publisher<V>> close, int bufferSize) | |
| accept | back to summary |
|---|---|
| public boolean accept(Subscriber<? super Flowable<T>> a, Object 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.
| |
| close | back to summary |
|---|---|
| pack-priv void close(FlowableWindowBoundarySelector. | |
| dispose | back to summary |
|---|---|
| pack-priv void dispose() | |
| drainLoop | back to summary |
|---|---|
| pack-priv void drainLoop() | |
| error | back to summary |
|---|---|
| pack-priv void error(Throwable t) | |
| 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
| |
| open | back to summary |
|---|---|
| pack-priv void open(B b) | |
| 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 B | |
| pack-priv final UnicastProcessor |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| open | back to summary |
|---|---|
| pack-priv final B open | |
| w | back to summary |
|---|---|
| pack-priv final UnicastProcessor<T> w | |
| WindowOperation | back to summary |
|---|---|
| pack-priv WindowOperation(UnicastProcessor<T> w, B open) | |