Class FlowableObserveOn.ObserveOnConditionalSubscriber<T>

All Implemented Interfaces:
FlowableSubscriber<T>, QueueFuseable<T>, QueueSubscription<T>, SimpleQueue<T>, Serializable, Runnable, org.reactivestreams.Subscriber<T>, org.reactivestreams.Subscription
Enclosing class:
FlowableObserveOn<T>

static final class FlowableObserveOn.ObserveOnConditionalSubscriber<T> extends FlowableObserveOn.BaseObserveOnSubscriber<T>
  • Field Details

  • Constructor Details

  • Method Details

    • onSubscribe

      public void onSubscribe(org.reactivestreams.Subscription s)
      Description copied from interface: FlowableSubscriber
      Implementors of this method should make sure everything that needs to be visible in Subscriber.onNext(Object) is established before calling Subscription.request(long). In practice this means no initialization should happen after the request() call and additional behavior is thread safe in respect to onNext.
    • runSync

      void runSync()
      Specified by:
      runSync in class FlowableObserveOn.BaseObserveOnSubscriber<T>
    • runAsync

      void runAsync()
      Specified by:
      runAsync in class FlowableObserveOn.BaseObserveOnSubscriber<T>
    • runBackfused

      void runBackfused()
      Specified by:
      runBackfused in class FlowableObserveOn.BaseObserveOnSubscriber<T>
    • poll

      @Nullable public T poll() throws Throwable
      Description copied from interface: SimpleQueue
      Tries to dequeue a value (non-null) or returns null if the queue is empty.

      If the producer uses SimpleQueue.offer(Object, Object) and when polling in pairs, if the first poll() returns a non-null item, the second poll() is guaranteed to return a non-null item as well.

      Returns:
      the item or null to indicate an empty queue
      Throws:
      Throwable - if some pre-processing of the dequeued item (usually through fused functions) throws.