public class EHResourceBundleDataCache extends java.lang.Object implements ResourceBundleDataCache
| Constructor and Description |
|---|
EHResourceBundleDataCache(Cache dataCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all cached entries.
|
ResourceBundleDataCacheEntry |
get(ResourceKey key)
Retrieves the given data from the cache.
|
ResourceBundleData |
put(ResourceManager caller,
ResourceBundleData data)
Stores the given data on the cache.
|
void |
remove(ResourceBundleData data) |
void |
shutdown() |
public ResourceBundleDataCacheEntry get(ResourceKey key)
get in interface ResourceBundleDataCachekey - the resource key for the data.public ResourceBundleData put(ResourceManager caller, ResourceBundleData data) throws ResourceLoadingException
ResourceBundleDataCacheput in interface ResourceBundleDataCachecaller - the calling resource manager.data - the data to be stored in the cacheResourceLoadingException - if an error prevents the data from being cached.public void remove(ResourceBundleData data)
remove in interface ResourceBundleDataCachepublic void clear()
clear in interface ResourceBundleDataCachepublic void shutdown()
shutdown in interface ResourceBundleDataCache