Class ConcurrentMapTagCache
java.lang.Object
io.pebbletemplates.pebble.cache.tag.ConcurrentMapTagCache
- All Implemented Interfaces:
PebbleCache<CacheKey,Object>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeIfAbsent(CacheKey key, java.util.function.Function<? super CacheKey, ?> mappingFunction) void
-
Constructor Details
-
ConcurrentMapTagCache
public ConcurrentMapTagCache() -
ConcurrentMapTagCache
-
-
Method Details
-
computeIfAbsent
public Object computeIfAbsent(CacheKey key, java.util.function.Function<? super CacheKey, ?> mappingFunction) - Specified by:
computeIfAbsentin interfacePebbleCache<CacheKey,Object>
-
invalidateAll
public void invalidateAll()- Specified by:
invalidateAllin interfacePebbleCache<CacheKey,Object>
-