| java.lang.Object freemarker.ext.util.ModelCache
ModelCache | public class ModelCache (Code) | | Internally used by various wrapper implementations to implement model
caching.
version: $Id: ModelCache.java,v 1.9 2003/01/12 23:40:15 revusky Exp $ author: Attila Szegedi |
clearCache | public void clearCache()(Code) | | |
setUseCache | public synchronized void setUseCache(boolean useCache)(Code) | | Sets whether this wrapper caches model instances. Default is false.
When set to true, calling
ModelCache.getInstance(Object,ModelFactory)
multiple times for the same object will return the same model.
|
|
|