Package | Description |
---|---|
com.yahoo.prelude.fastsearch |
Modifier and Type | Method and Description |
---|---|
protected PacketWrapper |
VespaBackEndSearcher.cacheLookupTwoPhase(CacheKey cacheKey,
Result result,
String summaryClass) |
PacketWrapper |
PacketCache.get(CacheKey key) |
PacketWrapper |
PacketCache.get(CacheKey key,
long now) |
PacketWrapper |
CacheControl.lookup(CacheKey key,
Query query) |
PacketWrapper |
PacketCache.put(CacheKey key,
PacketWrapper value)
Adds a PacketWrapper object to this cache,
unless the size is more than maxCacheItemPercentage of the total size
|
PacketWrapper |
PacketCache.put(CacheKey key,
PacketWrapper result,
long timestamp)
Adds a BasicPacket array to this cache,
unless the size is more than maxCacheItemPercentage of the total size
|
PacketWrapper |
PacketCache.remove(CacheKey key) |
Modifier and Type | Method and Description |
---|---|
private boolean |
VespaBackEndSearcher.addCachedHits(Result result,
PacketWrapper packetWrapper,
String summaryClass,
List<DocumentInfo> documents) |
PacketWrapper |
PacketCache.put(CacheKey key,
PacketWrapper value)
Adds a PacketWrapper object to this cache,
unless the size is more than maxCacheItemPercentage of the total size
|
PacketWrapper |
PacketCache.put(CacheKey key,
PacketWrapper result,
long timestamp)
Adds a BasicPacket array to this cache,
unless the size is more than maxCacheItemPercentage of the total size
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
PacketCache.removeEldestEntry(Map.Entry<CacheKey,PacketWrapper> eldest)
Overrides LinkedHashMap.removeEldestEntry as suggested to implement LRU cache.
|
Copyright © 2017. All rights reserved.