Back to Fresco

DiskCacheWriteProducer

docs/javadoc/reference/com/facebook/imagepipeline/producers/DiskCacheWriteProducer.html

3.6.021.5 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Annotations

Packages | Classes

Summary: Ctors | Methods | Inherited Methods | [Expand All]

public class

DiskCacheWriteProducer

extends Object
implements Producer<T>

| java.lang.Object | | ↳ | com.facebook.imagepipeline.producers.DiskCacheWriteProducer |

Class Overview

Disk cache write producer.

This producer passes through to the next producer in the sequence, as long as the permitted request level reaches beyond the disk cache. Otherwise this is a passive producer.

The final result passed to the consumer put into the disk cache as well as being passed on.

This implementation delegates disk cache requests to BufferedDiskCache.

This producer is currently used only if the media variations experiment is turned on, to enable another producer to sit between cache read and write.

Summary

Public Constructors
Public Methods
void

| [Expand] Inherited Methods | | --- | | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

| | From interface com.facebook.imagepipeline.producers.Producer

| abstract void | produceResults(Consumer<T> consumer, ProducerContext context) Start producing results for given context. |

|

Public Constructors

public DiskCacheWriteProducer(BufferedDiskCache defaultBufferedDiskCache, BufferedDiskCache smallImageBufferedDiskCache, CacheKeyFactory cacheKeyFactory, Producer<EncodedImage> inputProducer)

Public Methods

public void produceResults(Consumer<EncodedImage> consumer, ProducerContext producerContext)

+Generated by Doclava. +