Package | Description |
---|---|
org.glassfish.hk2.utilities.cache |
Modifier and Type | Method and Description |
---|---|
HybridCacheEntry<V> |
LRUHybridCache.compute(K key) |
HybridCacheEntry<V> |
LRUHybridCache.createCacheEntry(K k,
V v,
boolean dropMe)
Create cache entry for given values.
|
Constructor and Description |
---|
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.
|
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.