Class AutoCloseableDisposable

  • All Implemented Interfaces:
    Disposable, java.io.Serializable

    final class AutoCloseableDisposable
    extends ReferenceDisposable<java.lang.AutoCloseable>
    A disposable container that manages an AutoCloseable instance.
    Since:
    3.0.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      AutoCloseableDisposable​(java.lang.AutoCloseable value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void onDisposed​(@NonNull java.lang.AutoCloseable value)  
      java.lang.String toString()  
      • Methods inherited from class java.util.concurrent.atomic.AtomicReference

        accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, set, setOpaque, setPlain, setRelease, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
      • Methods inherited from class java.lang.Object

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

      • AutoCloseableDisposable

        AutoCloseableDisposable​(java.lang.AutoCloseable value)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.concurrent.atomic.AtomicReference<java.lang.AutoCloseable>