org.pentaho.reporting.libraries.resourceloader.modules.cache.ehcache
public class EHResourceDataCache extends Object implements ResourceDataCache
Constructor Summary | |
---|---|
EHResourceDataCache(Cache dataCache) |
Method Summary | |
---|---|
void | clear()
Remove all cached entries. |
ResourceDataCacheEntry | get(ResourceKey key)
Retrieves the given data from the cache.
|
ResourceData | put(ResourceManager caller, ResourceData data)
Stores the given data on the cache. |
void | remove(ResourceData data) |
void | shutdown() |
Parameters: key the resource key for the data.
Parameters: data the data to be stored in the cache
Returns: the resource data object, possibly wrapped by a cache-specific implementation.