Class MultiReferenceCountSubscriber<T>

  • All Implemented Interfaces:
    MultiSubscriber<T>, org.reactivestreams.Subscriber<T>, org.reactivestreams.Subscription

    public class MultiReferenceCountSubscriber<T>
    extends MultiOperatorProcessor<T,​T>
    • Method Detail

      • onItem

        public void onItem​(T t)
        Description copied from interface: MultiSubscriber
        Method called when the upstream emits an item event, in response to to requests to Subscription.request(long).
        Specified by:
        onItem in interface MultiSubscriber<T>
        Overrides:
        onItem in class MultiOperatorProcessor<T,​T>
        Parameters:
        t - the item, must not be null.
      • onFailure

        public void onFailure​(java.lang.Throwable failure)
        Description copied from interface: MultiSubscriber
        Method called when the upstream emits a failure terminal event.

        No further events will be sent even if Subscription.request(long) is invoked again.

        Specified by:
        onFailure in interface MultiSubscriber<T>
        Overrides:
        onFailure in class MultiOperatorProcessor<T,​T>
        Parameters:
        failure - the failure, must not be null.
      • cancel

        public void cancel()
        Specified by:
        cancel in interface org.reactivestreams.Subscription
        Overrides:
        cancel in class MultiOperatorProcessor<T,​T>