public class

BitmapProbeProducer

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

Class Overview

Probe producer for brobing encoded memory and disk caches on bitmap memory cache hit requests.

Summary

Constants
String PRODUCER_NAME
Public Constructors
BitmapProbeProducer(MemoryCache<CacheKeyPooledByteBuffer> encodedMemoryCache, BufferedDiskCache defaultBufferedDiskCache, BufferedDiskCache smallImageBufferedDiskCache, CacheKeyFactory cacheKeyFactory, BoundedLinkedHashSet<CacheKey> encodedMemoryCacheHistory, BoundedLinkedHashSet<CacheKey> diskCacheHistory, Producer<CloseableReference<CloseableImage>> inputProducer)
Public Methods
void produceResults(Consumer<CloseableReference<CloseableImage>> consumer, ProducerContext producerContext)
Protected Methods
String getProducerName()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.facebook.imagepipeline.producers.Producer

Constants

public static final String PRODUCER_NAME

Constant Value: "BitmapProbeProducer"

Public Constructors

public BitmapProbeProducer (MemoryCache<CacheKeyPooledByteBuffer> encodedMemoryCache, BufferedDiskCache defaultBufferedDiskCache, BufferedDiskCache smallImageBufferedDiskCache, CacheKeyFactory cacheKeyFactory, BoundedLinkedHashSet<CacheKey> encodedMemoryCacheHistory, BoundedLinkedHashSet<CacheKey> diskCacheHistory, Producer<CloseableReference<CloseableImage>> inputProducer)

Public Methods

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

Protected Methods

protected String getProducerName ()