public class

EncodedMemoryCacheProducer

extends Object
implements Producer<T>
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.EncodedMemoryCacheProducer

Class Overview

Memory cache producer for the encoded memory cache.

Summary

Constants
String EXTRA_CACHED_VALUE_FOUND
String PRODUCER_NAME
Public Constructors
EncodedMemoryCacheProducer(MemoryCache<CacheKeyPooledByteBuffer> memoryCache, CacheKeyFactory cacheKeyFactory, Producer<EncodedImage> inputProducer)
Public Methods
void produceResults(Consumer<EncodedImage> consumer, ProducerContext producerContext)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.producers.Producer

Constants

public static final String EXTRA_CACHED_VALUE_FOUND

Constant Value: "cached_value_found"

public static final String PRODUCER_NAME

Constant Value: "EncodedMemoryCacheProducer"

Public Constructors

public EncodedMemoryCacheProducer (MemoryCache<CacheKeyPooledByteBuffer> memoryCache, CacheKeyFactory cacheKeyFactory, Producer<EncodedImage> inputProducer)

Public Methods

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