Back to Fresco

BitmapMemoryCacheProducer

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

3.6.024.4 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Annotations

Packages | Classes

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

public class

BitmapMemoryCacheProducer

extends Object
implements Producer<T>

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

| Known Direct Subclasses

BitmapMemoryCacheGetProducer

| BitmapMemoryCacheGetProducer | Bitmap memory cache producer that is read-only. |

|

Class Overview

Memory cache producer for the bitmap memory cache.

Summary

Constants
String
String
Public Constructors
Public Methods
void
Protected Methods
String
String
Consumer<CloseableReference<CloseableImage>>

| [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. |

|

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<CacheKey, CloseableImage> memoryCache, CacheKeyFactory cacheKeyFactory, Producer<CloseableReference<CloseableImage>> inputProducer)

Public Methods

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

Protected Methods

protected String getOriginSubcategory()

protected String getProducerName()

protected Consumer<CloseableReference<CloseableImage>> wrapConsumer(Consumer<CloseableReference<CloseableImage>> consumer, CacheKey cacheKey, boolean isMemoryCacheEnabled)

+Generated by Doclava. +