Class OperatorObserveThroughput.SubscriberImpl

java.lang.Object
org.aksw.commons.rx.op.OperatorObserveThroughput.SubscriberImpl
All Implemented Interfaces:
io.reactivex.rxjava3.core.FlowableSubscriber<T>, org.reactivestreams.Subscriber<T>, org.reactivestreams.Subscription
Enclosing class:
OperatorObserveThroughput<T>

public class OperatorObserveThroughput.SubscriberImpl extends Object implements io.reactivex.rxjava3.core.FlowableSubscriber<T>, org.reactivestreams.Subscription
  • Field Details

    • downstream

      protected org.reactivestreams.Subscriber<? super T> downstream
    • upstream

      protected org.reactivestreams.Subscription upstream
    • pending

      protected AtomicLong pending
    • seenItems

      protected AtomicLong seenItems
  • Constructor Details

    • SubscriberImpl

      public SubscriberImpl(org.reactivestreams.Subscriber<? super T> downstream)
  • Method Details

    • onSubscribe

      public void onSubscribe(org.reactivestreams.Subscription s)
      Specified by:
      onSubscribe in interface io.reactivex.rxjava3.core.FlowableSubscriber<T>
      Specified by:
      onSubscribe in interface org.reactivestreams.Subscriber<T>
    • request

      public void request(long n)
      Specified by:
      request in interface org.reactivestreams.Subscription
    • onNext

      public void onNext(T item)
      Specified by:
      onNext in interface org.reactivestreams.Subscriber<T>
    • onComplete

      public void onComplete()
      Specified by:
      onComplete in interface org.reactivestreams.Subscriber<T>
    • onError

      public void onError(Throwable t)
      Specified by:
      onError in interface org.reactivestreams.Subscriber<T>
    • cancel

      public void cancel()
      Specified by:
      cancel in interface org.reactivestreams.Subscription