Class ParallelFilter.ParallelFilterSubscriber<T>
java.lang.Object
io.reactivex.rxjava3.internal.operators.parallel.ParallelFilter.BaseFilterSubscriber<T>
io.reactivex.rxjava3.internal.operators.parallel.ParallelFilter.ParallelFilterSubscriber<T>
- All Implemented Interfaces:
FlowableSubscriber<T>
,ConditionalSubscriber<T>
,org.reactivestreams.Subscriber<T>
,org.reactivestreams.Subscription
- Enclosing class:
ParallelFilter<T>
static final class ParallelFilter.ParallelFilterSubscriber<T>
extends ParallelFilter.BaseFilterSubscriber<T>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final org.reactivestreams.Subscriber
<? super T> Fields inherited from class io.reactivex.rxjava3.internal.operators.parallel.ParallelFilter.BaseFilterSubscriber
done, predicate, upstream
-
Constructor Summary
ConstructorsConstructorDescriptionParallelFilterSubscriber
(org.reactivestreams.Subscriber<? super T> actual, Predicate<? super T> predicate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
onSubscribe
(org.reactivestreams.Subscription s) Implementors of this method should make sure everything that needs to be visible inSubscriber.onNext(Object)
is established before callingSubscription.request(long)
.boolean
Conditionally takes the value.Methods inherited from class io.reactivex.rxjava3.internal.operators.parallel.ParallelFilter.BaseFilterSubscriber
cancel, onNext, request
-
Field Details
-
downstream
-
-
Constructor Details
-
ParallelFilterSubscriber
-
-
Method Details
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription s) Description copied from interface:FlowableSubscriber
Implementors of this method should make sure everything that needs to be visible inSubscriber.onNext(Object)
is established before callingSubscription.request(long)
. In practice this means no initialization should happen after therequest()
call and additional behavior is thread safe in respect toonNext
. -
tryOnNext
Description copied from interface:ConditionalSubscriber
Conditionally takes the value.- Parameters:
t
- the value to deliver- Returns:
- true if the value has been accepted, false if the value has been rejected and the next value can be sent immediately
-
onError
-
onComplete
public void onComplete()
-