Predicate on the values. The predicate can be used in several modes:
Until: A new window starts when the predicate returns true. The
element that just matched the predicate is the last in the previous window, and the
windows are not emitted before an inner element is pushed.UntilOther: A new window starts when the predicate returns true. The
element that just matched the predicate is the first in the new window, which is
emitted immediately.While: A new window starts when the predicate stops matching. The
non-matching elements that delimit each window are simply discarded, and the
windows are not emitted before an inner element is pushed| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Supplier | |
| pack-priv final Supplier | |
| pack-priv final FluxBufferPredicate. | |
| pack-priv final Predicate | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | FluxWindowPredicate(Flux<? extends T> source, Supplier<? extends Queue<Flux<T>>> mainQueueSupplier, Supplier<? extends Queue<T>> groupQueueSupplier, int prefetch, Predicate<? super T> predicate, FluxBufferPredicate.
|
| Modifier and Type | Method and Description |
|---|---|
| public int | getPrefetch()
Overrides reactor. Flux
|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides reactor. Implements reactor. |
| public CoreSubscriber | subscribeOrReturn(CoreSubscriber<? super Flux<T>> actual)
Implements abstract reactor. Implements reactor. CoreSubscriber, or force
subscription encapsulation by returning null.
|