org.pentaho.reporting.libraries.resourceloader.modules.cache.ehcache

Class EHResourceBundleDataCache

public class EHResourceBundleDataCache extends Object implements ResourceBundleDataCache

Creation-Date: 13.04.2006, 16:30:34

Author: Thomas Morgner

Constructor Summary
EHResourceBundleDataCache(Cache dataCache)
Method Summary
voidclear()
Remove all cached entries.
ResourceBundleDataCacheEntryget(ResourceKey key)
Retrieves the given data from the cache.
ResourceBundleDataput(ResourceManager caller, ResourceBundleData data)
voidremove(ResourceBundleData data)
voidshutdown()

Constructor Detail

EHResourceBundleDataCache

public EHResourceBundleDataCache(Cache dataCache)

Method Detail

clear

public void clear()
Remove all cached entries. This should be called after the cache has become invalid or after it has been removed from a resource manager.

get

public ResourceBundleDataCacheEntry get(ResourceKey key)
Retrieves the given data from the cache.

Parameters: key the resource key for the data.

put

public ResourceBundleData put(ResourceManager caller, ResourceBundleData data)

remove

public void remove(ResourceBundleData data)

shutdown

public void shutdown()