Package org.thymeleaf.cache
package org.thymeleaf.cache
-
ClassDescriptionCommon abstract class for
ICacheManager
implementations, useful for taking care of the lazy initialization of cache objects when their correspondinggetXCache()
methods are called.Simple implementation ofICacheEntryValidity
that 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 anICache
object before returning it as the result of aget
operation.Common interface for all cache manager implementations.Simple implementation ofICacheEntryValidity
that considers the template resolution to be non-cacheable.StandardCache<K,V> Standard implementation ofICacheManager
, returning configurable instances ofStandardCache
for each of the default caches defined at the cache manager interface.This class models objects used as keys in the Template Cache.Simple implementation ofICacheEntryValidity
that uses a TTL (time-to-live) expressed in milliseconds to compute the validity of template cache entries.