Package org.thymeleaf.cache
Class StandardCache.CacheEntry<V>
- java.lang.Object
-
- org.thymeleaf.cache.StandardCache.CacheEntry<V>
-
- Enclosing class:
- StandardCache<K,V>
static final class StandardCache.CacheEntry<V> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private VcachedValueAnchorprivate java.lang.ref.SoftReference<V>cachedValueReferenceprivate longcreationTimeInMillis
-
Constructor Summary
Constructors Constructor Description CacheEntry(V cachedValue, boolean useSoftReferences)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCreationTimeInMillis()<K> VgetValueIfStillValid(java.lang.String cacheMapName, K key, ICacheEntryValidityChecker<? super K,? super V> checker, boolean traceExecution, org.slf4j.Logger logger)
-
-
-
Constructor Detail
-
CacheEntry
CacheEntry(V cachedValue, boolean useSoftReferences)
-
-
Method Detail
-
getValueIfStillValid
public <K> V getValueIfStillValid(java.lang.String cacheMapName, K key, ICacheEntryValidityChecker<? super K,? super V> checker, boolean traceExecution, org.slf4j.Logger logger)
-
getCreationTimeInMillis
public long getCreationTimeInMillis()
-
-