package

com.facebook.datasource

Classes for the DataSource abstraction and related observers

Interfaces

DataSource<T> An alternative to Java Futures for the image pipeline. 
DataSubscriber<T> Subscribes to DataSource

Classes

AbstractDataSource<T> An abstract implementation of DataSource interface. 
BaseBooleanSubscriber Base implementation of DataSubscriber that ensures that the data source is closed when the subscriber has finished with it. 
BaseDataSubscriber<T> Base implementation of DataSubscriber that ensures that the data source is closed when the subscriber has finished with it. 
DataSources Static utility methods pertaining to the DataSource interface. 
FirstAvailableDataSourceSupplier<T> DataSource supplier that provides a data source which will forward results of the first available data source. 
IncreasingQualityDataSourceSupplier<T> DataSource supplier that provides a data source which forwards results of the underlying data sources with the increasing quality. 
SimpleDataSource<T> Settable DataSource