Searched refs:AddressCacheKey (Results 1 – 1 of 1) sorted by relevance
42 private final BasicLruCache<AddressCacheKey, AddressCacheEntry> cache43 = new BasicLruCache<AddressCacheKey, AddressCacheEntry>(MAX_ENTRIES);45 static class AddressCacheKey { class in AddressCache50 AddressCacheKey(String hostname, int netId) { in AddressCacheKey() method in AddressCache.AddressCacheKey59 if (!(o instanceof AddressCacheKey)) { in equals()62 AddressCacheKey lhs = (AddressCacheKey) o; in equals()109 AddressCacheEntry entry = cache.get(new AddressCacheKey(hostname, netId)); in get()124 cache.put(new AddressCacheKey(hostname, netId), new AddressCacheEntry(addresses)); in put()132 cache.put(new AddressCacheKey(hostname, netId), new AddressCacheEntry(detailMessage)); in putUnknownHost()