java.lang.Object |
↳ |
com.facebook.imagepipeline.producers.MultiplexProducer<K, T extends java.io.Closeable> |
Known Direct Subclasses
|
Class Overview
Producer for combining multiple identical requests into a single request.
Requests using the same key will be combined into a single request. This request is only
cancelled when all underlying requests are cancelled, and returns values to all underlying
consumers. If the request has already return one or more results but has not finished, then
any requests with the same key will have the most recent result returned to them immediately.
Summary
[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
|
Protected Constructors
protected
MultiplexProducer
(Producer<T> inputProducer)
Public Methods
public
void
produceResults
(Consumer<T> consumer, ProducerContext context)
Start producing results for given context. Provided consumer is notified whenever progress is
made (new value is ready or error occurs).
Protected Methods
protected
abstract
T
cloneOrNull
(T object)