D | LocaleObjectCache.java | 40 private final ConcurrentMap<K, CacheEntry<K, V>> map; 55 CacheEntry<K, V> entry = map.get(key); in get() 67 CacheEntry<K, V> newEntry = new CacheEntry<>(key, newVal, queue); in get() 83 CacheEntry<K, V> entry = new CacheEntry<>(key, value, queue); in put() 84 CacheEntry<K, V> oldEntry = map.put(key, entry); in put() 91 CacheEntry<K, V> entry; in cleanStaleEntries() 92 while ((entry = (CacheEntry<K, V>)queue.poll()) != null) { in cleanStaleEntries() 103 private static class CacheEntry<K, V> extends SoftReference<V> { class in LocaleObjectCache 106 CacheEntry(K key, V value, ReferenceQueue<V> queue) { in CacheEntry() method in LocaleObjectCache.CacheEntry
|