Package freemarker.template.cache

The mechanics of Template caching are implemented in this package.

See:
          Description

Interface Summary
Cache An interface for self-updating caches consisting of any single type of object.
Cacheable Abstracts information relating to the caching of a particular object.
CacheRetriever Interface for retrieving objects to be stored in a Cache.
CachingStrategy Abstract interface for a cache loading strategy.
RegistryAccepter Interface to allow a TemplateRegistry to be set.
Updateable An interface for objects that need to be reminded to update themselves from time to time.
 

Class Summary
BaseCachingStrategy Base class for implementing common elements of the caching strategies included with FM-Classic.
CacheElement Represent a single entry in the cache.
CacheEventAdapter Adapter class responsible for firing cache events.
FileRetriever Retrieves cacheable objects through the file system.
LoadAdHocCachingStrategy Implements a load-ad-hoc caching strategy.
LoadOnDemandCachingStrategy Implements a load-on-demand caching strategy.
LocalizedFileRetriever Retrieves cacheable objects through the file system.
LoDWithRefreshCachingStrategy Implements a load-on-demand caching strategy with periodic refreshes.
NullCachingStrategy Implements the most simple caching strategy possible: a null cache.
PreloadCachingStrategy Implements a preload caching strategy.
TemplateRegistry Stores a register of prototype templates, which can be retrieved by the template cache whenever it needs to compile a template.
UpdateTimer A timer for objects that implement Updateable.
 

Package freemarker.template.cache Description

The mechanics of Template caching are implemented in this package. Normally it is sufficient to use the FileTemplateCache implementation. Custom caching strategies or template retrievers can be based on the interfaces in this package.

Since:
1.7