Back to Fresco

PriorityStarvingThrottlingProducer

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

3.6.020.7 KB
Original Source

Fresco

|

|

Packages | Classes

Interfaces

Classes

Annotations

Packages | Classes

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

public class

PriorityStarvingThrottlingProducer

extends Object
implements Producer<T>

| java.lang.Object | | ↳ | com.facebook.imagepipeline.producers.PriorityStarvingThrottlingProducer<T> |

Class Overview

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

Summary

Constants
String
Public Constructors
Public Methods
void
Start producing results for given context.

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

Constant Value: "PriorityStarvingThrottlingProducer"

Public Constructors

public PriorityStarvingThrottlingProducer(int maxSimultaneousRequests, Executor executor, Producer<T> inputProducer)

Public Methods

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

Start producing results for given context. Provided consumer is notified whenever progress is made (new value is ready or error occurs).

+Generated by Doclava. +