public interface ResourceBundleDataCache
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() |
ResourceBundleDataCacheEntry get(ResourceKey key)
key
- the resource key for the data.ResourceBundleData put(ResourceManager caller, ResourceBundleData data) throws ResourceLoadingException
caller
- the calling resource manager.data
- the data to be stored in the cacheResourceLoadingException
- if an error prevents the data from being cached.void remove(ResourceBundleData data)
void clear()
void shutdown()