Searched refs:CachedValue (Results 1 – 2 of 2) sorted by relevance
103 private LruCache<K, CachedValue<V>> cache;105 private ExpirableCache(LruCache<K, CachedValue<V>> cache) { in ExpirableCache()121 public static <K, V> ExpirableCache<K, V> create(LruCache<K, CachedValue<V>> cache) { in create()133 return create(new LruCache<K, CachedValue<V>>(maxSize)); in create()149 public CachedValue<V> getCachedValue(K key) { in getCachedValue()166 CachedValue<V> cachedValue = getCachedValue(key); in getPossiblyExpired()180 CachedValue<V> cachedValue = getCachedValue(key); in get()212 public CachedValue<V> newCachedValue(V value) { in newCachedValue()224 public interface CachedValue<V> { interface in ExpirableCache239 private static class GenerationalCachedValue<V> implements ExpirableCache.CachedValue<V> {
110 ExpirableCache.CachedValue<ContactInfo> cachedInfo = cache.getCachedValue(numberCountryIso); in getValue()