org.pentaho.reporting.libraries.resourceloader.cache
public interface ResourceBundleDataCache
Method Summary | |
---|---|
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() |
Parameters: key the resource key for the data.
Returns: the cached entry or null, if the entry is no longer in the cache.
Parameters: caller the calling resource manager. data the data to be stored in the cache
Returns: the resource data object, possibly wrapped by a cache-specific implementation.
Throws: ResourceLoadingException if an error prevents the data from being cached.