Class FlowableIntervalRange.IntervalRangeSubscriber

java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicLong
io.reactivex.rxjava3.internal.operators.flowable.FlowableIntervalRange.IntervalRangeSubscriber
All Implemented Interfaces:
Serializable, Runnable, org.reactivestreams.Subscription
Enclosing class:
FlowableIntervalRange

static final class FlowableIntervalRange.IntervalRangeSubscriber extends AtomicLong implements org.reactivestreams.Subscription, Runnable
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • downstream

      final org.reactivestreams.Subscriber<? super Long> downstream
    • end

      final long end
    • count

      long count
    • resource

      final AtomicReference<Disposable> resource
  • Constructor Details

    • IntervalRangeSubscriber

      IntervalRangeSubscriber(org.reactivestreams.Subscriber<? super Long> actual, long start, long end)
  • Method Details

    • request

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

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

      public void run()
      Specified by:
      run in interface Runnable
    • setResource

      public void setResource(Disposable d)