| java.lang.Object freemarker.cache.SoftCacheStorage
SoftCacheStorage | public class SoftCacheStorage implements CacheStorage(Code) | | Strong cache storage is a cache storage that uses
SoftReference
objects to hold the objects it was passed, therefore allows the garbage
collector to purge the cache when it determines that it wants to free up
memory.
This class is NOT thread-safe. If it is accessed from multiple
threads concurrently, proper synchronization must be provided by the callers.
Note that
TemplateCache , the natural user of this class provides the
necessary synchronizations when it uses the class.
author: Attila Szegedi version: $Id: SoftCacheStorage.java,v 1.4 2003/09/22 20:47:03 ddekany Exp $MruCacheStorage |
SoftCacheStorage | public SoftCacheStorage()(Code) | | |
SoftCacheStorage | public SoftCacheStorage(Map backingMap)(Code) | | |
clear | public void clear()(Code) | | |
|
|