Searched defs:CacheEntry (Results 1 - 3 of 3) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DFieldCache.java602 public static abstract class CacheEntry { class in interface:FieldCache
651 * EXPERT: Generates an array of CacheEntry objects representing all items
654 * NOTE: These CacheEntry objects maintain a strong reference to the
655 * Cached Values. Maintaining references to a CacheEntry the IndexReader
661 public abstract CacheEntry[] getCacheEntries();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DConcurrentLFUCache.java47 private final ConcurrentHashMap<Object, CacheEntry<K, V>> map;
66 map = new ConcurrentHashMap<Object, CacheEntry<K, V>>(initialSize);
89 CacheEntry<K, V> e = map.get(key);
102 CacheEntry<K, V> cacheEntry = map.remove(key);
112 CacheEntry<K, V> e = new CacheEntry<K, V>(key, val, stats.accessCounter.incrementAndGet());
113 CacheEntry<K, V> oldCacheEntry = map.put(key, e);
175 TreeSet<CacheEntry> tree = new TreeSet<CacheEntry>();
177 for (CacheEntry<
317 private static class CacheEntry<K, V> implements Comparable<CacheEntry<K, V>> { class in class:ConcurrentLFUCache
325 public CacheEntry(K key, V value, long lastAccessed) { method in class:ConcurrentLFUCache.CacheEntry
[all...]
H A DConcurrentLRUCache.java47 private final ConcurrentHashMap<Object, CacheEntry<K,V>> map;
65 map = new ConcurrentHashMap<Object, CacheEntry<K,V>>(initialSize);
87 CacheEntry<K,V> e = map.get(key);
97 CacheEntry<K,V> cacheEntry = map.remove(key);
107 CacheEntry<K,V> e = new CacheEntry<K,V>(key, val, stats.accessCounter.incrementAndGet());
108 CacheEntry<K,V> oldCacheEntry = map.put(key, e);
186 CacheEntry<K,V>[] eset = new CacheEntry[sz];
192 for (CacheEntry<
473 private static class CacheEntry<K,V> implements Comparable<CacheEntry<K,V>> { class in class:ConcurrentLRUCache
480 public CacheEntry(K key, V value, long lastAccessed) { method in class:ConcurrentLRUCache.CacheEntry
[all...]

Completed in 15 milliseconds