Uses of Interface
com.gengoai.cache.Cache
-
Packages that use Cache Package Description com.gengoai.cache Methods for creating and manage caches as well as auto-caching method calls. -
-
Uses of Cache in com.gengoai.cache
Classes in com.gengoai.cache that implement Cache Modifier and Type Class Description class
AutoCalculatingLRUCache<K,V>
Auto calculating LRU cache that calculates values for keys when retrieved using aSerializableFunction
.class
LRUCache<K,V>
Last-Recently-Used Cache with bounded size.Methods in com.gengoai.cache that return Cache Modifier and Type Method Description static <K,V>
Cache<K,V>Cache. create(int maxSize)
Creates an LRU cache.static <K,V>
Cache<K,V>Cache. create(int maxSize, @NonNull SerializableFunction<K,V> valueCalculator)
Creates an Auto Calculating LRU cache.
-