Class ParallelFilterTry.ParallelFilterSubscriber<T>
java.lang.Object
io.reactivex.rxjava3.internal.operators.parallel.ParallelFilterTry.BaseFilterSubscriber<T>
io.reactivex.rxjava3.internal.operators.parallel.ParallelFilterTry.ParallelFilterSubscriber<T>
- All Implemented Interfaces:
FlowableSubscriber<T>, ConditionalSubscriber<T>, org.reactivestreams.Subscriber<T>, org.reactivestreams.Subscription
- Enclosing class:
ParallelFilterTry<T>
static final class ParallelFilterTry.ParallelFilterSubscriber<T>
extends ParallelFilterTry.BaseFilterSubscriber<T>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final org.reactivestreams.Subscriber<? super T> Fields inherited from class ParallelFilterTry.BaseFilterSubscriber
done, errorHandler, predicate, upstream -
Constructor Summary
ConstructorsConstructorDescriptionParallelFilterSubscriber(org.reactivestreams.Subscriber<? super T> actual, Predicate<? super T> predicate, BiFunction<? super Long, ? super Throwable, ParallelFailureHandling> errorHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidonSubscribe(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).booleanConditionally takes the value.Methods inherited from class ParallelFilterTry.BaseFilterSubscriber
cancel, onNext, request
-
Field Details
-
downstream
-
-
Constructor Details
-
ParallelFilterSubscriber
ParallelFilterSubscriber(org.reactivestreams.Subscriber<? super T> actual, Predicate<? super T> predicate, BiFunction<? super Long, ? super Throwable, ParallelFailureHandling> errorHandler)
-
-
Method Details
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription s) Description copied from interface:FlowableSubscriberImplementors 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:ConditionalSubscriberConditionally 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()
-