public class EHResourceDataCache extends java.lang.Object implements ResourceDataCache
| Constructor and Description |
|---|
EHResourceDataCache(Cache dataCache) |
| 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() |
public ResourceDataCacheEntry get(ResourceKey key)
get in interface ResourceDataCachekey - the resource key for the data.public ResourceData put(ResourceManager caller, ResourceData data) throws ResourceLoadingException
put in interface ResourceDataCachedata - the data to be stored in the cacheResourceLoadingExceptionpublic void remove(ResourceData data)
remove in interface ResourceDataCachepublic void clear()
clear in interface ResourceDataCachepublic void shutdown()
shutdown in interface ResourceDataCache