Interface PriorityImageManager<T,D,P extends Comparable<P>>

  • Type Parameters:
    T - the type of keys.
    D - the type of data.
    P - the type of priority elements.
    All Superinterfaces:
    ImageManager<T,D>


    public interface PriorityImageManager<T,D,P extends Comparable<P>>
    extends ImageManager<T,D>
    An extension of the ImageManager interface that allows priority in requests.
    • Method Detail

      • get

        D get(T thing,
              P priority)
        Get data for the specified thing with the specified priority.
        Parameters:
        thing - the thing to get data for.
        priority - the priority of the query.
        Returns:
        the data for the thing.
      • cancelJobs

        void cancelJobs()
        Cancel all jobs in the queue so that new jobs get done faster.
      • setIgnorePendingProductions

        void setIgnorePendingProductions()
        Tell this manager to ignore all data that are currently in production due to request that happened before calling this method. This may be used if some configuration has changed within the underlying ImageSource to make sure that things don't get mixed up.