Package org.thymeleaf.cache
Class StandardCache.CacheEntry<V>
java.lang.Object
org.thymeleaf.cache.StandardCache.CacheEntry<V>
- Enclosing class:
StandardCache<K,V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Vprivate final SoftReference<V> private final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong<K> VgetValueIfStillValid(String cacheMapName, K key, ICacheEntryValidityChecker<? super K, ? super V> checker, boolean traceExecution, org.slf4j.Logger logger)
-
Field Details
-
cachedValueReference
-
creationTimeInMillis
private final long creationTimeInMillis -
cachedValueAnchor
-
-
Constructor Details
-
CacheEntry
CacheEntry(V cachedValue, boolean useSoftReferences)
-
-
Method Details
-
getValueIfStillValid
public <K> V getValueIfStillValid(String cacheMapName, K key, ICacheEntryValidityChecker<? super K, ? super V> checker, boolean traceExecution, org.slf4j.Logger logger) -
getCreationTimeInMillis
public long getCreationTimeInMillis()
-