ResourceBundleDataCachepublic class NullResourceBundleDataCache extends java.lang.Object implements ResourceBundleDataCache
| Constructor | Description |
|---|---|
NullResourceBundleDataCache() |
| Modifier and Type | Method | 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 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 ResourceBundleDataCacheEntry get(ResourceKey key)
ResourceBundleDataCacheget in interface ResourceBundleDataCachekey - the resource key for the data.public void remove(ResourceBundleData data)
remove in interface ResourceBundleDataCachepublic void clear()
ResourceBundleDataCacheclear in interface ResourceBundleDataCachepublic void shutdown()
shutdown in interface ResourceBundleDataCache