java.lang.Object | |
↳ | com.facebook.imagepipeline.producers.PriorityStarvingThrottlingProducer<T> |
Time based, priority starving throttling producer.
This means for any # of elements, all of the higher priority items will be run before any of the lower priority items. Within the groups, send order is the same as order they were given to the class. (based on nano time).
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PRODUCER_NAME |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PriorityStarvingThrottlingProducer(int maxSimultaneousRequests, Executor executor, Producer<T> inputProducer) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
produceResults(Consumer<T> consumer, ProducerContext producerContext)
Start producing results for given context.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.imagepipeline.producers.Producer
|
Start producing results for given context. Provided consumer is notified whenever progress is made (new value is ready or error occurs).