Class SingleTimer.TimerDisposable

java.lang.Object
java.util.concurrent.atomic.AtomicReference<Disposable>
io.reactivex.rxjava3.internal.operators.single.SingleTimer.TimerDisposable
All Implemented Interfaces:
Disposable, Serializable, Runnable
Enclosing class:
SingleTimer

static final class SingleTimer.TimerDisposable extends AtomicReference<Disposable> implements Disposable, Runnable
  • Field Details

  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • 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
    • setFuture

      void setFuture(Disposable d)