Class SingleSubscriberPublisher.SimpleSubscription

  • All Implemented Interfaces:
    org.reactivestreams.Subscription
    Enclosing class:
    SingleSubscriberPublisher<T>

    private class SingleSubscriberPublisher.SimpleSubscription
    extends java.lang.Object
    implements org.reactivestreams.Subscription
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SimpleSubscription()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()  
      void request​(long n)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleSubscription

        private SimpleSubscription()
    • Method Detail

      • 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