Interface FlexibleEvictableCache<K,V> 
- All Superinterfaces:
- EvictableCache<K,,- V> - Map<K,,- V> - MemoizeCache<K,- V> 
- All Known Implementing Classes:
- CommonCache,- ConcurrentCommonCache,- ConcurrentSoftCache,- StampedCommonCache
An EvictableCache supporting a getAndPut variant with additional control over caching.
- Since:
- 5.0.0
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.codehaus.groovy.runtime.memoize.EvictableCacheEvictableCache.Action<K,V, R>, EvictableCache.EvictionStrategy Nested classes/interfaces inherited from interface java.util.MapMap.Entry<K extends Object,V extends Object> Nested classes/interfaces inherited from interface org.codehaus.groovy.runtime.memoize.MemoizeCacheMemoizeCache.ValueProvider<K,V> 
- 
Method SummaryMethods inherited from interface org.codehaus.groovy.runtime.memoize.EvictableCacheclear, clearAll, containsKey, keys, remove, size, valuesMethods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface org.codehaus.groovy.runtime.memoize.MemoizeCachecleanUpNullReferences, get, getAndPut, put
- 
Method Details- 
getAndPutV getAndPut(K key, MemoizeCache.ValueProvider<? super K, ? extends V> valueProvider, boolean shouldCache) 
 
-