public class

BitmapMemoryCacheProducer

extends Object
implements Producer<T>
java.lang.Object
   ↳ com.facebook.imagepipeline.producers.BitmapMemoryCacheProducer
Known Direct Subclasses

Class Overview

Memory cache producer for the bitmap memory cache.

Summary

Constants
String EXTRA_CACHED_VALUE_FOUND
String PRODUCER_NAME
Public Constructors
BitmapMemoryCacheProducer(MemoryCache<CacheKeyCloseableImage> memoryCache, CacheKeyFactory cacheKeyFactory, Producer<CloseableReference<CloseableImage>> inputProducer)
Public Methods
void produceResults(Consumer<CloseableReference<CloseableImage>> consumer, ProducerContext producerContext)
Protected Methods
String getProducerName()
Consumer<CloseableReference<CloseableImage>> wrapConsumer(Consumer<CloseableReference<CloseableImage>> consumer, CacheKey cacheKey)
[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: "BitmapMemoryCacheProducer"

Public Constructors

public BitmapMemoryCacheProducer (MemoryCache<CacheKeyCloseableImage> memoryCache, CacheKeyFactory cacheKeyFactory, Producer<CloseableReference<CloseableImage>> inputProducer)

Public Methods

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

Protected Methods

protected String getProducerName ()