public static final class Schedulers.Snapshot extends Object implements Disposable
Disposable in case you don't want to restore the live SchedulersDisposable.Composite, Disposable.Swap| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Cancel or dispose the underlying task or resource.
|
boolean |
isDisposed()
Optionally return true when the resource or task is disposed.
|
public boolean isDisposed()
DisposableImplementations are not required to track disposition and as such may never return true even when disposed. However, they MUST only return true when there's a guarantee the resource or task is disposed.
isDisposed in interface Disposablepublic void dispose()
DisposableImplementations are required to make this method idempotent.
dispose in interface Disposable