public class

EncodedProbeProducer

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

Class Overview

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

Summary

Constants
String PRODUCER_NAME
Public Constructors
EncodedProbeProducer(BufferedDiskCache defaultBufferedDiskCache, BufferedDiskCache smallImageBufferedDiskCache, CacheKeyFactory cacheKeyFactory, BoundedLinkedHashSet encodedMemoryCacheHistory, BoundedLinkedHashSet diskCacheHistory, Producer<EncodedImage> inputProducer)
Public Methods
void produceResults(Consumer<EncodedImage> 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: "EncodedProbeProducer"

Public Constructors

public EncodedProbeProducer (BufferedDiskCache defaultBufferedDiskCache, BufferedDiskCache smallImageBufferedDiskCache, CacheKeyFactory cacheKeyFactory, BoundedLinkedHashSet encodedMemoryCacheHistory, BoundedLinkedHashSet diskCacheHistory, Producer<EncodedImage> inputProducer)

Public Methods

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

Protected Methods

protected String getProducerName ()