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