Uses of Interface
org.glassfish.hk2.utilities.cache.Computable
-
Packages that use Computable Package Description org.glassfish.hk2.utilities.cache org.glassfish.hk2.utilities.cache.internal -
-
Uses of Computable in org.glassfish.hk2.utilities.cache
Classes in org.glassfish.hk2.utilities.cache that implement Computable Modifier and Type Class Description class
Cache<K,V>
Cache implementation that relies on FutureTask.class
LRUHybridCache<K,V>
Hybrid cache that allows explicit removals of included entries as well as implicit removal of entries that have been least recently accessed.Methods in org.glassfish.hk2.utilities.cache that return Computable Modifier and Type Method Description Computable<K,V>
WeakCARCache. getComputable()
The computable associated with this cacheMethods in org.glassfish.hk2.utilities.cache with parameters of type Computable Modifier and Type Method Description static <K,V>
WeakCARCache<K,V>CacheUtilities. createWeakCARCache(Computable<K,V> computable, int maxSize, boolean isWeak)
Returns a WEAKCarCache with the given computable and the given maximum value size of the cache.Constructors in org.glassfish.hk2.utilities.cache with parameters of type Computable Constructor Description Cache(Computable<K,V> computable)
Create new cache with given computable to compute values.Cache(Computable<K,V> computable, Cache.CycleHandler<K> cycleHandler)
Create new cache with given computable and cycle handler.LRUHybridCache(int maxCacheSize, Computable<K,HybridCacheEntry<V>> computable)
Create new cache with given computable to compute values.LRUHybridCache(int maxCacheSize, Computable<K,HybridCacheEntry<V>> computable, LRUHybridCache.CycleHandler<K> cycleHandler)
Create new cache with given computable and cycleHandler. -
Uses of Computable in org.glassfish.hk2.utilities.cache.internal
Methods in org.glassfish.hk2.utilities.cache.internal that return Computable Modifier and Type Method Description Computable<K,V>
WeakCARCacheImpl. getComputable()
Constructors in org.glassfish.hk2.utilities.cache.internal with parameters of type Computable Constructor Description WeakCARCacheImpl(Computable<K,V> computable, int maxSize, boolean isWeak)
-