public interface ResourceDataCache
Modifier and Type | Method and Description |
---|---|
void |
clear()
Remove all cached entries.
|
ResourceDataCacheEntry |
get(ResourceKey key)
Retrieves the given data from the cache.
|
ResourceData |
put(ResourceManager caller,
ResourceData data)
Stores the given data on the cache.
|
void |
remove(ResourceData data) |
void |
shutdown() |
ResourceDataCacheEntry get(ResourceKey key)
key
- the resource key for the data.ResourceData put(ResourceManager caller, ResourceData data) throws ResourceLoadingException
data
- the data to be stored in the cacheResourceLoadingException
void remove(ResourceData data)
void clear()
void shutdown()