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 anICacheobject before returning it as the result of agetoperation.ICacheManager Common interface for all cache manager implementations. -
Class Summary Class Description AbstractCacheManager Common abstract class forICacheManagerimplementations, useful for taking care of the lazy initialization of cache objects when their correspondinggetXCache()methods are called.AlwaysValidCacheEntryValidity Simple implementation ofICacheEntryValiditythat 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 ofICacheEntryValiditythat considers the template resolution to be non-cacheable.StandardCache<K,V> StandardCacheManager Standard implementation ofICacheManager, returning configurable instances ofStandardCachefor 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 ofICacheEntryValiditythat uses a TTL (time-to-live) expressed in milliseconds to compute the validity of template cache entries.