public class NullResourceBundleDataCache extends java.lang.Object implements ResourceBundleDataCache
Constructor and Description |
---|
NullResourceBundleDataCache() |
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 ResourceBundleData put(ResourceManager caller, ResourceBundleData data) throws ResourceLoadingException
ResourceBundleDataCache
put
in interface ResourceBundleDataCache
caller
- 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)
ResourceBundleDataCache
get
in interface ResourceBundleDataCache
key
- the resource key for the data.public void remove(ResourceBundleData data)
remove
in interface ResourceBundleDataCache
public void clear()
ResourceBundleDataCache
clear
in interface ResourceBundleDataCache
public void shutdown()
shutdown
in interface ResourceBundleDataCache