Class ObservableCombineLatest.LatestCoordinator<T,R>

java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicInteger
io.reactivex.rxjava3.internal.operators.observable.ObservableCombineLatest.LatestCoordinator<T,R>
All Implemented Interfaces:
Disposable, Serializable
Enclosing class:
ObservableCombineLatest<T,R>

static final class ObservableCombineLatest.LatestCoordinator<T,R> extends AtomicInteger implements Disposable
  • Field Details

  • Constructor Details

    • LatestCoordinator

      LatestCoordinator(Observer<? super R> actual, Function<? super Object[],? extends R> combiner, int count, int bufferSize, boolean delayError)
  • Method Details

    • subscribe

      public void subscribe(ObservableSource<? extends T>[] sources)
    • dispose

      public void dispose()
      Description copied from interface: Disposable
      Dispose the resource, the operation should be idempotent.
      Specified by:
      dispose in interface Disposable
    • isDisposed

      public boolean isDisposed()
      Description copied from interface: Disposable
      Returns true if this resource has been disposed.
      Specified by:
      isDisposed in interface Disposable
      Returns:
      true if this resource has been disposed
    • cancelSources

      void cancelSources()
    • clear

      void clear(SpscLinkedArrayQueue<?> q)
    • drain

      void drain()
    • innerNext

      void innerNext(int index, T item)
    • innerError

      void innerError(int index, Throwable ex)
    • innerComplete

      void innerComplete(int index)