Logo Search packages:      
Sourcecode: libloader version File versions  Download package

ResourceData org::jfree::resourceloader::modules::cache::ehcache::EHResourceDataCache::put ( final ResourceManager  caller,
final ResourceData  data 
) throws ResourceLoadingException [inline]

Stores the given data on the cache. The data is registered by its primary key. The cache has to store the current version of the data.

data the data to be stored in the cache
the resource data object, possibly wrapped by a cache-specific implementation.

Definition at line 89 of file EHResourceDataCache.java.

    final ResourceData cdata = CachingResourceData.createCached(data);
    dataCache.put(new Element(data.getKey(), new DefaultResourceDataCacheEntry(cdata, caller)));
    return cdata;

Generated by  Doxygen 1.6.0   Back to index