Top Description Interfaces Classes
[default module]

Package io.reactivex.disposables


Default implementations for Disposable-based resource management (Disposable container types) and utility classes to construct Disposables from callbacks and other types.

Interface Summary

Modifier and TypeInterface and Description
public interface
Disposable

Represents a disposable resource.

Class Summary

Modifier and TypeClass and Description
pack-priv class
ActionDisposable

A Disposable container that manages an Action instance.

public class
CompositeDisposable

A disposable container that can hold onto multiple other disposables and offers O(1) add and removal complexity.

public class
Disposables

Utility class to help create disposables by wrapping other types.

pack-priv class
FutureDisposable

A Disposable container that cancels a Future instance.

pack-priv abstract class
ReferenceDisposable<
the type contained
T
>

Base class for Disposable containers that manage some other type that has to be run when the container is disposed.

pack-priv class
RunnableDisposable

A disposable container that manages a Runnable instance.

public class
SerialDisposable

A Disposable container that allows atomically updating/replacing the contained Disposable with another Disposable, disposing the old one when updating plus handling the disposition when the container itself is disposed.

pack-priv class
SubscriptionDisposable

A Disposable container that handles a Subscription.