|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.resourceloader.modules.cache.ehcache.EHResourceBundleDataCache
public class EHResourceBundleDataCache
Creation-Date: 13.04.2006, 16:30:34
Constructor Summary | |
---|---|
EHResourceBundleDataCache(Cache dataCache)
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EHResourceBundleDataCache(Cache dataCache)
Method Detail |
---|
public ResourceBundleDataCacheEntry get(ResourceKey key)
get
in interface ResourceBundleDataCache
key
- the resource key for the data.
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 cache
ResourceLoadingException
- if an error prevents the data from being cached.public void remove(ResourceBundleData data)
remove
in interface ResourceBundleDataCache
public void clear()
clear
in interface ResourceBundleDataCache
public void shutdown()
shutdown
in interface ResourceBundleDataCache
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |