|
|||||||||
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.EHResourceDataCache
public class EHResourceDataCache
Creation-Date: 13.04.2006, 16:30:34
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EHResourceDataCache(Cache dataCache)
Method Detail |
---|
public ResourceDataCacheEntry get(ResourceKey key)
get
in interface ResourceDataCache
key
- the resource key for the data.public ResourceData put(ResourceManager caller, ResourceData data) throws ResourceLoadingException
put
in interface ResourceDataCache
data
- the data to be stored in the cache
ResourceLoadingException
public void remove(ResourceData data)
remove
in interface ResourceDataCache
public void clear()
clear
in interface ResourceDataCache
public void shutdown()
shutdown
in interface ResourceDataCache
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |