The implementation uses short-circuit logic and completes with true if the predicate matches a value.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Predicate |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides reactor. Implements reactor. |
| public CoreSubscriber | subscribeOrReturn(CoreSubscriber<? super Boolean> actual)
Implements abstract reactor. Implements reactor. CoreSubscriber, or force
subscription encapsulation by returning null.
|
| predicate | back to summary |
|---|---|
| pack-priv final Predicate<? super T> predicate | |
| MonoAny | back to summary |
|---|---|
| pack-priv MonoAny(Flux<? extends T> source, Predicate<? super T> predicate) | |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Overrides reactor. Implements reactor. Doc from reactor. This method is used internally by components to define their key-value mappings
in a single place. Although it is ignoring the generic type of the
For public consumption of attributes, prefer using | |
| subscribeOrReturn | back to summary |
|---|---|
| public CoreSubscriber Implements abstract reactor. Implements reactor. Doc from reactor. Allow delegation of the subscription by returning a
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv final Predicate |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Boolean | accumulatedValue()
Implements abstract reactor. |
| 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 Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Overrides reactor. Overrides default reactor. Implements reactor. |
| done | back to summary |
|---|---|
| pack-priv boolean done | |
| predicate | back to summary |
|---|---|
| pack-priv final Predicate<? super T> predicate | |
| AnySubscriber | back to summary |
|---|---|
| pack-priv AnySubscriber(CoreSubscriber<? super Boolean> actual, Predicate<? super T> predicate) | |
| accumulatedValue | back to summary |
|---|---|
| pack-priv Boolean accumulatedValue() Implements abstract reactor. Doc from reactor. This method is being called either during onComplete invocation in case request has happened before, or during request invocation in case onComplete with no values has happened before. Note , this method expectedly returns null if cancellation happened before | |
| 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
| |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Overrides reactor. Overrides default reactor. Implements reactor. Doc from reactor. This method is used internally by components to define their key-value mappings
in a single place. Although it is ignoring the generic type of the
For public consumption of attributes, prefer using | |