Package com.bumptech.glide.provider
Class LoadPathCache
java.lang.Object
com.bumptech.glide.provider.LoadPathCache
Maintains a cache of data, resource, and transcode classes to available
LoadPaths capable of decoding with the requested types.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<Data,TResource, Transcode>
LoadPath<Data,TResource, Transcode> May returnNO_PATHS_SIGNALto indicate that we've previously found that there are 0 available load paths for the requested types.booleanisEmptyLoadPath(LoadPath<?, ?, ?> path) Returns true if the givenLoadPathis the signal object returned fromget(Class, Class, Class)that indicates that we've previously found that there are no available paths to load the requested resources andfalseotherwise.void
-
Constructor Details
-
LoadPathCache
public LoadPathCache()
-
-
Method Details
-
isEmptyLoadPath
Returns true if the givenLoadPathis the signal object returned fromget(Class, Class, Class)that indicates that we've previously found that there are no available paths to load the requested resources andfalseotherwise. -
get
@Nullable public <Data,TResource, LoadPath<Data,Transcode> TResource, getTranscode> (Class<Data> dataClass, Class<TResource> resourceClass, Class<Transcode> transcodeClass) May returnNO_PATHS_SIGNALto indicate that we've previously found that there are 0 available load paths for the requested types. Callers must check usingisEmptyLoadPath(LoadPath)before using any load path returned by this method. -
put
-