Class ReplayProcessor.ReplaySubscription<T>

java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicInteger
io.reactivex.rxjava3.processors.ReplayProcessor.ReplaySubscription<T>
All Implemented Interfaces:
Serializable, org.reactivestreams.Subscription
Enclosing class:
ReplayProcessor<T>

static final class ReplayProcessor.ReplaySubscription<@NonNull T> extends AtomicInteger implements org.reactivestreams.Subscription
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • downstream

      final org.reactivestreams.Subscriber<? super T> downstream
    • state

      final ReplayProcessor<T> state
    • index

      Object index
    • requested

      final AtomicLong requested
    • cancelled

      volatile boolean cancelled
    • emitted

      long emitted
  • Constructor Details

  • 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