Uses of Interface
org.glassfish.hk2.utilities.cache.HybridCacheEntry
Packages that use HybridCacheEntry
-
Uses of HybridCacheEntry in org.glassfish.hk2.utilities.cache
Classes in org.glassfish.hk2.utilities.cache that implement HybridCacheEntryClasses in org.glassfish.hk2.utilities.cache that implement interfaces with type arguments of type HybridCacheEntryModifier and TypeClassDescriptionclassLRUHybridCache<K,V> Hybrid cache that allows explicit removals of included entries as well as implicit removal of entries that have been least recently accessed.private classHelper class, that remembers the future task origin thread, so that cycles could be detected.Fields in org.glassfish.hk2.utilities.cache with type parameters of type HybridCacheEntryModifier and TypeFieldDescriptionprivate final Computable<K, HybridCacheEntry<V>> LRUHybridCache.computableprivate final FutureTask<HybridCacheEntry<V>> LRUHybridCache.OriginThreadAwareFuture.futureMethods in org.glassfish.hk2.utilities.cache that return HybridCacheEntryModifier and TypeMethodDescriptionLRUHybridCache.createCacheEntry(K k, V v, boolean dropMe) Create cache entry for given values.LRUHybridCache.OriginThreadAwareFuture.get()Constructor parameters in org.glassfish.hk2.utilities.cache with type arguments of type HybridCacheEntryModifierConstructorDescriptionLRUHybridCache(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.(package private)OriginThreadAwareFuture(LRUHybridCache<K, HybridCacheEntry<V>> cache, K key)