Package org.thymeleaf.cache
-
Interface Summary Interface Description ICache<K,V> Common interface for all the cache objects used by the template engine.ICacheEntryValidity Common interface for all objects defining the validity of a template resolution.ICacheEntryValidityChecker<K,V> Defines the logic needed to (optionally) validate an entry living in anICache
object before returning it as the result of aget
operation.ICacheManager Common interface for all cache manager implementations. -
Class Summary Class Description AbstractCacheManager Common abstract class forICacheManager
implementations, useful for taking care of the lazy initialization of cache objects when their correspondinggetXCache()
methods are called.AlwaysValidCacheEntryValidity Simple implementation ofICacheEntryValidity
that considers the template resolution to be always cacheable and always valid.ExpressionCacheKey This class models objects used as keys in the Expression Cache.NonCacheableCacheEntryValidity Simple implementation ofICacheEntryValidity
that considers the template resolution to be non-cacheable.StandardCache<K,V> StandardCacheManager Standard implementation ofICacheManager
, returning configurable instances ofStandardCache
for each of the default caches defined at the cache manager interface.StandardParsedTemplateEntryValidator TemplateCacheKey This class models objects used as keys in the Template Cache.TTLCacheEntryValidity Simple implementation ofICacheEntryValidity
that uses a TTL (time-to-live) expressed in milliseconds to compute the validity of template cache entries.