Searched refs:CacheEntry (Results 1 - 5 of 5) sorted by relevance
/openjdk7/jdk/src/share/classes/sun/util/locale/ |
H A D | LocaleObjectCache.java | 40 private ConcurrentMap<K, CacheEntry<K, V>> map; 55 CacheEntry<K, V> entry = map.get(key); 67 CacheEntry<K, V> newEntry = new CacheEntry<>(key, newVal, queue); 84 CacheEntry<K, V> entry = new CacheEntry<>(key, value, queue); 85 CacheEntry<K, V> oldEntry = map.put(key, entry); 91 CacheEntry<K, V> entry; 92 while ((entry = (CacheEntry<K, V>)queue.poll()) != null) { 103 private static class CacheEntry< class in class:LocaleObjectCache 106 CacheEntry(K key, V value, ReferenceQueue<V> queue) { method in class:LocaleObjectCache.CacheEntry [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Cache.java | 35 class CacheEntry extends Ref { class in inherits:Ref 38 CacheEntry next; 82 private CacheEntry table[]; 104 table = new CacheEntry[initialCapacity]; 188 CacheEntry tab[] = table; 191 for (CacheEntry e = tab[index]; e != null; e = e.next) { 206 CacheEntry oldTable[] = table; 209 CacheEntry newTable[] = new CacheEntry[newCapacity]; 218 for (CacheEntry ol [all...] |
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | Cache.java | 251 private final Map<Object, CacheEntry> cacheMap; 265 cacheMap = new LinkedHashMap<Object, CacheEntry>(buckets, 282 CacheEntry entry = (CacheEntry)queue.poll(); 291 CacheEntry currentEntry = cacheMap.remove(key); 317 for (Iterator<CacheEntry> t = cacheMap.values().iterator(); 319 CacheEntry entry = t.next(); 342 for (CacheEntry entry : cacheMap.values()) { 356 CacheEntry newEntry = newEntry(key, value, expirationTime, queue); 357 CacheEntry oldEntr 460 private static interface CacheEntry { interface in class:MemoryCache [all...] |
/openjdk7/jdk/src/share/classes/sun/nio/fs/ |
H A D | PollingWatchService.java | 202 private static class CacheEntry { class in class:PollingWatchService 206 CacheEntry(long lastModified, int lastTickCount) { method in class:PollingWatchService.CacheEntry 246 private Map<Path,CacheEntry> entries; 255 this.entries = new HashMap<Path,CacheEntry>(); 263 entries.put(entry.getFileName(), new CacheEntry(lastModified, tickCount)); 351 CacheEntry e = entries.get(entry.getFileName()); 355 new CacheEntry(lastModified, tickCount)); 398 Iterator<Map.Entry<Path,CacheEntry>> i = entries.entrySet().iterator(); 400 Map.Entry<Path,CacheEntry> mapEntry = i.next(); 401 CacheEntry entr [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | InetAddress.java | 713 static final class CacheEntry { class in class:InetAddress 715 CacheEntry(InetAddress[] addresses, long expiration) { method in class:InetAddress.CacheEntry 729 private LinkedHashMap<String, CacheEntry> cache; 739 cache = new LinkedHashMap<String, CacheEntry>(); 770 CacheEntry entry = cache.get(key); 794 CacheEntry entry = new CacheEntry(addresses, expiration); 801 * return its CacheEntry, or null if not found. 803 public CacheEntry get(String host) { 808 CacheEntry entr [all...] |
Completed in 271 milliseconds