Uses of Interface
org.glassfish.hk2.utilities.cache.Computable
Packages that use Computable
-
Uses of Computable in org.glassfish.hk2.utilities.cache
Classes in org.glassfish.hk2.utilities.cache that implement ComputableModifier and TypeClassDescriptionclass
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.Fields in org.glassfish.hk2.utilities.cache declared as ComputableModifier and TypeFieldDescriptionprivate final Computable
<K, V> Cache.computable
private final Computable
<K, HybridCacheEntry<V>> LRUHybridCache.computable
Methods in org.glassfish.hk2.utilities.cache that return ComputableModifier and TypeMethodDescriptionComputable
<K, V> WeakCARCache.getComputable()
The computable associated with this cacheMethods in org.glassfish.hk2.utilities.cache with parameters of type ComputableModifier and TypeMethodDescriptionstatic <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 ComputableModifierConstructorDescriptionCache
(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
Fields in org.glassfish.hk2.utilities.cache.internal declared as ComputableMethods in org.glassfish.hk2.utilities.cache.internal that return ComputableConstructors in org.glassfish.hk2.utilities.cache.internal with parameters of type ComputableModifierConstructorDescriptionWeakCARCacheImpl
(Computable<K, V> computable, int maxSize, boolean isWeak)