Class SpincastCaffeineTagCache
java.lang.Object
org.spincast.plugins.pebble.utils.SpincastCaffeineTagCache
- All Implemented Interfaces:
com.mitchellbosecke.pebble.cache.PebbleCache<com.mitchellbosecke.pebble.cache.CacheKey,
Object>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeIfAbsent
(com.mitchellbosecke.pebble.cache.CacheKey key, Function<? super com.mitchellbosecke.pebble.cache.CacheKey, ? extends Object> mappingFunction) void
-
Constructor Details
-
SpincastCaffeineTagCache
public SpincastCaffeineTagCache(long maximumSize)
-
-
Method Details
-
computeIfAbsent
public Object computeIfAbsent(com.mitchellbosecke.pebble.cache.CacheKey key, Function<? super com.mitchellbosecke.pebble.cache.CacheKey, ? extends Object> mappingFunction) - Specified by:
computeIfAbsent
in interfacecom.mitchellbosecke.pebble.cache.PebbleCache<com.mitchellbosecke.pebble.cache.CacheKey,
Object>
-
invalidateAll
public void invalidateAll()- Specified by:
invalidateAll
in interfacecom.mitchellbosecke.pebble.cache.PebbleCache<com.mitchellbosecke.pebble.cache.CacheKey,
Object>
-