docs/javadoc/reference/com/facebook/imagepipeline/producers/Producer.html
|
|
Consumer<T>
NetworkFetcher<FETCH_STATE extends FetchState>
Producer<T>
BaseConsumer<T>
BaseNetworkFetcher<FETCH_STATE extends FetchState>
DelegatingConsumer<I, O>
HttpUrlConnectionNetworkFetcher.HttpUrlConnectionNetworkFetchState
MultiplexProducer<K, T extends Closeable>
NullProducer<T>
PostprocessedBitmapMemoryCacheProducer.CachedPostprocessorConsumer
PriorityNetworkFetcher<FETCH_STATE extends FetchState>
PriorityNetworkFetcher.PriorityFetchState<FETCH_STATE extends FetchState>
Summary: Methods | [Expand All]
public interface
| com.facebook.imagepipeline.producers.Producer<T> |
| Known Indirect Subclasses
AddImageTransformMetaDataProducer, BitmapMemoryCacheGetProducer, BitmapMemoryCacheKeyMultiplexProducer, BitmapMemoryCacheProducer, BitmapPrepareProducer, BitmapProbeProducer, BranchOnSeparateImagesProducer, DataFetchProducer, DecodeProducer, DelayProducer, DiskCacheReadProducer, DiskCacheWriteProducer, EncodedCacheKeyMultiplexProducer, EncodedMemoryCacheProducer, EncodedProbeProducer, and 24 others.
| AddImageTransformMetaDataProducer | Add image transform meta data producer
Extracts meta data from the results passed down from the next producer, and adds it to the result that it returns to the consumer.
|
| BitmapMemoryCacheGetProducer | Bitmap memory cache producer that is read-only. |
| BitmapMemoryCacheKeyMultiplexProducer | Multiplex producer that uses the bitmap memory cache key to combine requests. |
| BitmapMemoryCacheProducer | Memory cache producer for the bitmap memory cache. |
| BitmapPrepareProducer | This producer issues to a call to prepareToDraw() to allow the RendererThread upload the bitmap to GPU asynchronously before it is used. |
| BitmapProbeProducer | Probe producer for brobing encoded memory and disk caches on bitmap memory cache hit requests. |
| BranchOnSeparateImagesProducer | Producer that coordinates fetching two separate images. |
| DataFetchProducer | Producer for data URIs. |
| DecodeProducer | Decodes images. |
| DelayProducer | A ScheduledExecutorService is a significant dependency and we do not want to require it. |
| DiskCacheReadProducer | Disk cache read producer. |
| DiskCacheWriteProducer | Disk cache write producer. |
| EncodedCacheKeyMultiplexProducer | Multiplex producer that uses the encoded cache key to combine requests. |
| EncodedMemoryCacheProducer | Memory cache producer for the encoded memory cache. |
| EncodedProbeProducer | Probe producer for brobing disk cache on encoded memory cache hit requests. |
| LocalAssetFetchProducer | Executes a local fetch from an asset. |
| LocalContentUriFetchProducer | Represents a local content Uri fetch producer. |
| LocalContentUriThumbnailFetchProducer | Represents a local content Uri fetch producer. |
| LocalExifThumbnailProducer | A producer that retrieves exif thumbnails. |
| LocalFetchProducer | Represents a local fetch producer. |
| LocalFileFetchProducer | Represents a local file fetch producer. |
| LocalResourceFetchProducer | Executes a local fetch from a resource. |
| LocalVideoThumbnailProducer | A producer that creates video thumbnails. |
| MultiplexProducer<K, T extends Closeable> | Producer for combining multiple identical requests into a single request. |
| NetworkFetchProducer | A producer to actually fetch images from the network. |
| NullProducer<T> | Producer that never produces anything, but just returns null. |
| PartialDiskCacheProducer | Partial disk cache producer. |
| PostprocessedBitmapMemoryCacheProducer | Memory cache producer for the bitmap memory cache. |
| PostprocessorProducer | Runs a caller-supplied post-processor object. |
| PriorityStarvingThrottlingProducer<T> | Time based, priority starving throttling producer. |
| QualifiedResourceFetchProducer | The QualifiedResourceFetchProducer uses the ContentResolver to allow fetching resources that might not be part of the application's package. |
| RemoveImageTransformMetaDataProducer | Remove image transform meta data producer
Remove the ImageTransformMetaData object from the results passed down from the next producer, and adds it to the result that it returns to the consumer.
| | ResizeAndRotateProducer | Resizes and rotates images according to the EXIF orientation data or a specified rotation angle. | | SwallowResultProducer<T> | Swallow result producer. | | ThreadHandoffProducer<T> | Uses ExecutorService to move further computation to different thread | | ThrottlingProducer<T> | Only permits a configurable number of requests to be kicked off simultaneously. | | ThumbnailBranchProducer | Producer that will attempt to retrieve a thumbnail from one or more producers. | | ThumbnailProducer<T> | Implemented producers can be queried for whether they are likely to be able to produce a result of the desired size. | | WebpTranscodeProducer | Transcodes WebP to JPEG / PNG. |
|
Building block for image processing in the image pipeline.
Execution of image request consists of multiple different tasks such as network fetch, disk caching, memory caching, decoding, applying transformations etc. Producer represents single task whose result is an instance of T. Breaking entire request into sequence of Producers allows us to construct different requests while reusing the same blocks.
Producer supports multiple values and streaming.
| Public Methods |
|---|
| abstract void |
| Start producing results for given context. |
Start producing results for given context. Provided consumer is notified whenever progress is made (new value is ready or error occurs).
+Generated by Doclava. +