Package io.reactivex.rxjava3.disposables
Class SubscriptionDisposable
java.lang.Object
java.util.concurrent.atomic.AtomicReference<org.reactivestreams.Subscription>
io.reactivex.rxjava3.disposables.ReferenceDisposable<org.reactivestreams.Subscription>
io.reactivex.rxjava3.disposables.SubscriptionDisposable
- All Implemented Interfaces:
Disposable,Serializable
A Disposable container that handles a
Subscription.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonDisposed(@NonNull org.reactivestreams.Subscription value) Methods inherited from class io.reactivex.rxjava3.disposables.ReferenceDisposable
dispose, isDisposedMethods 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, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SubscriptionDisposable
SubscriptionDisposable(org.reactivestreams.Subscription value)
-
-
Method Details
-
onDisposed
- Specified by:
onDisposedin classReferenceDisposable<org.reactivestreams.Subscription>
-