T - the type of keys.
D - the type of data.
P - the type of priority elements.
public interface PriorityImageManager<T,D extends ImageManager,P extends Comparable <P>> <T ,D>
| Modifier and Type | Method and Description |
|---|---|
void |
cancelJobs()
Cancel all jobs in the queue so that new jobs get done faster.
|
D |
get(T thing, P priority)
Get data for the specified thing with the specified priority.
|
void |
setIgnorePendingProductions()
Tell this manager to ignore all data that are currently in production due to request that happened before calling this method.
|
addLoadListener, destroy, get, removeLoadListener, setCacheHintMinimumSize, willNeedD get(T thing, P priority)
thing - the thing to get data for.
priority - the priority of the query.
void cancelJobs()
void setIgnorePendingProductions()