Class ResumeSingleObserver<T>

  • Type Parameters:
    T - the value type
    All Implemented Interfaces:
    SingleObserver<T>

    public final class ResumeSingleObserver<T>
    extends java.lang.Object
    implements SingleObserver<T>
    A SingleObserver implementation used for subscribing to the actual SingleSource and replace the current Disposable in a parent AtomicReference.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onError​(java.lang.Throwable e)
      Notifies the SingleObserver that the Single has experienced an error condition.
      void onSubscribe​(Disposable d)
      Provides the SingleObserver with the means of cancelling (disposing) the connection (channel) with the Single in both synchronous (from within onSubscribe(Disposable) itself) and asynchronous manner.
      void onSuccess​(T value)
      Notifies the SingleObserver with a single item and that the Single has finished sending push-based notifications.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait