Package io.reactivex.rxjava3.core
Class Scheduler.DisposeTask
java.lang.Object
io.reactivex.rxjava3.core.Scheduler.DisposeTask
- All Implemented Interfaces:
Disposable
,SchedulerRunnableIntrospection
,Runnable
- Enclosing class:
Scheduler
static final class Scheduler.DisposeTask
extends Object
implements Disposable, Runnable, SchedulerRunnableIntrospection
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
decoratedRun
-
w
-
runner
-
-
Constructor Details
-
DisposeTask
-
-
Method Details
-
run
public void run() -
dispose
public void dispose()Description copied from interface:Disposable
Dispose the resource, the operation should be idempotent.- Specified by:
dispose
in interfaceDisposable
-
isDisposed
public boolean isDisposed()Description copied from interface:Disposable
Returns true if this resource has been disposed.- Specified by:
isDisposed
in interfaceDisposable
- Returns:
- true if this resource has been disposed
-
getWrappedRunnable
Description copied from interface:SchedulerRunnableIntrospection
Returns the wrapped action.- Specified by:
getWrappedRunnable
in interfaceSchedulerRunnableIntrospection
- Returns:
- the wrapped action. Cannot be null.
-