Package org.thymeleaf.cache
package org.thymeleaf.cache
-
ClassDescriptionCommon abstract class for
ICacheManagerimplementations, useful for taking care of the lazy initialization of cache objects when their correspondinggetXCache()methods are called.Simple implementation ofICacheEntryValiditythat considers the template resolution to be always cacheable and always valid.This class models objects used as keys in the Expression Cache.ICache<K,V> Common interface for all the cache objects used by the template engine.Common interface for all objects defining the validity of a template resolution.Defines the logic needed to (optionally) validate an entry living in anICacheobject before returning it as the result of agetoperation.Common interface for all cache manager implementations.Simple implementation ofICacheEntryValiditythat considers the template resolution to be non-cacheable.StandardCache<K,V> Standard implementation ofICacheManager, returning configurable instances ofStandardCachefor each of the default caches defined at the cache manager interface.This class models objects used as keys in the Template Cache.Simple implementation ofICacheEntryValiditythat uses a TTL (time-to-live) expressed in milliseconds to compute the validity of template cache entries.