Class ResourceCacheImpl

java.lang.Object
org.apache.velocity.runtime.resource.ResourceCacheImpl
All Implemented Interfaces:
ResourceCache

public class ResourceCacheImpl extends Object implements ResourceCache
Default implementation of the resource cache for the default ResourceManager. The cache uses a least recently used (LRU) algorithm, with a maximum size specified via the resource.manager.cache.size property (identified by the RuntimeConstants.RESOURCE_MANAGER_DEFAULTCACHE_SIZE constant). This property get be set to 0 or less for a greedy, unbounded cache (the behavior from pre-v1.5).
Version:
$Id$
Author:
Geir Magnusson Jr., Daniel Rall