D | LocaleObjectCache.java | 40 private ConcurrentMap<K, CacheEntry<K, V>> map; 55 CacheEntry<K, V> entry = map.get(key); in get() 69 CacheEntry<K, V> newEntry = new CacheEntry<>(key, newVal, queue); in get() 86 CacheEntry<K, V> entry = new CacheEntry<>(key, value, queue); in put() 87 CacheEntry<K, V> oldEntry = map.put(key, entry); in put() 93 CacheEntry<K, V> entry; in cleanStaleEntries() 94 while ((entry = (CacheEntry<K, V>)queue.poll()) != null) { in cleanStaleEntries() 105 private static class CacheEntry<K, V> extends SoftReference<V> { class in LocaleObjectCache 108 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry() method in LocaleObjectCache.CacheEntry
|