Package io.reactivex.rxjava3.disposables
Class SubscriptionDisposable
- java.lang.Object
-
- java.util.concurrent.atomic.AtomicReference<T>
-
- io.reactivex.rxjava3.disposables.ReferenceDisposable<org.reactivestreams.Subscription>
-
- io.reactivex.rxjava3.disposables.SubscriptionDisposable
-
- All Implemented Interfaces:
Disposable
,java.io.Serializable
final class SubscriptionDisposable extends ReferenceDisposable<org.reactivestreams.Subscription>
A Disposable container that handles aSubscription
.
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SubscriptionDisposable(org.reactivestreams.Subscription value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onDisposed(@NonNull org.reactivestreams.Subscription value)
-
Methods inherited from class io.reactivex.rxjava3.disposables.ReferenceDisposable
dispose, isDisposed
-
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, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
onDisposed
protected void onDisposed(@NonNull @NonNull org.reactivestreams.Subscription value)
- Specified by:
onDisposed
in classReferenceDisposable<org.reactivestreams.Subscription>
-
-