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.

Interfaces

Disposable Represents a disposable resource. 

Classes

CompositeDisposable A disposable container that can hold onto multiple other disposables and offers O(1) add and removal complexity. 
Disposables Utility class to help create disposables by wrapping other types. 
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.