Package org.aksw.commons.rx.op
Class OperatorLocalOrder.SubscriberImpl
java.lang.Object
org.aksw.commons.rx.op.OperatorLocalOrder.SubscriberImpl
- All Implemented Interfaces:
io.reactivex.rxjava3.core.FlowableSubscriber<T>,org.reactivestreams.Subscriber<T>,org.reactivestreams.Subscription
- Enclosing class:
- OperatorLocalOrder<T,
S>
public class OperatorLocalOrder.SubscriberImpl
extends Object
implements io.reactivex.rxjava3.core.FlowableSubscriber<T>, org.reactivestreams.Subscription
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.reactivestreams.Subscriber<? super T>protected Sprotected booleanprotected AtomicLongprotected ConcurrentNavigableMap<S,T> protected org.reactivestreams.Subscription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()protected voiddrain()protected voidprotected voiddrainTo(Collection<T> buffer) voidvoidvoidvoidonSubscribe(org.reactivestreams.Subscription s) voidpostDrainRequests(boolean isCalledFromOnNext) voidrequest(long n)
-
Field Details
-
downstream
-
upstream
protected org.reactivestreams.Subscription upstream -
isUpstreamComplete
protected volatile boolean isUpstreamComplete -
expectedSeqId
-
seqIdToValue
-
pending
-
-
Constructor Details
-
SubscriberImpl
-
-
Method Details
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription s) -
onNext
- Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<T>
-
drain
protected void drain() -
drain
-
postDrainRequests
public void postDrainRequests(boolean isCalledFromOnNext) -
drainTo
-
onError
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<T>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<T>
-
request
public void request(long n) - Specified by:
requestin interfaceorg.reactivestreams.Subscription
-
cancel
public void cancel()- Specified by:
cancelin interfaceorg.reactivestreams.Subscription
-