Uses of Interface
org.apache.jena.atlas.lib.Cache
Packages that use Cache
-
Uses of Cache in org.apache.jena.atlas.lib
Methods in org.apache.jena.atlas.lib that return CacheModifier and TypeMethodDescriptionstatic <Key,Value>
Cache<Key,Value> CacheFactory.createCache(int maxSize) Create a cache which has space for up to a certain number of objects.static <Key,Value>
Cache<Key,Value> CacheFactory.createCache(int maxSize, double initialCapacityFactor) static <Key,Value>
Cache<Key,Value> CacheFactory.createCache(int maxSize, BiConsumer<Key, Value> dropHandler) Create a cache which has space for up to a certain number of objects.static <Key,Value>
Cache<Key,Value> CacheFactory.createCache(int maxSize, BiConsumer<Key, Value> dropHandler, double initialCapacityFactor) Create a cache which has space for up to a certain number of objects and with a configurable initial capacity.static <Key,Value>
Cache<Key,Value> CacheFactory.createNullCache()Create a null cache.static <Key,Value>
Cache<Key,Value> CacheFactory.createOneSlotCache()One slot cachestatic <Key,Value>
Cache<Key,Value> CacheFactory.createSimpleCache(int size) Create a lightweight cache (e.g. slot replacement).static <Key,Value>
Cache<Key,Value> CacheFactory.wrap(com.github.benmanes.caffeine.cache.Cache<Key, Value> caffeine) Wrap an existing Caffeine cache -
Uses of Cache in org.apache.jena.atlas.lib.cache
Classes in org.apache.jena.atlas.lib.cache that implement CacheModifier and TypeClassDescriptionfinal classCache0<K,V> A cache that keeps nothingclassCache1<K,V> A one-slot cache.final classCacheCaffeine<K,V> Wrapper around a com.github.benmanes.caffeineclassCacheSimple<K,V> A simple fixed size cache that uses the hash code to address a slot.classCacheWrapper<Key,T> Constructors in org.apache.jena.atlas.lib.cache with parameters of type CacheModifierConstructorDescriptionCacheSetImpl(Cache<T, Object> cache) CacheWrapper(Cache<Key, T> cache)