Package | Description |
---|---|
com.yahoo.prelude.fastsearch | |
com.yahoo.vespa.streamingvisitors |
Modifier and Type | Method and Description |
---|---|
protected PacketWrapper |
VespaBackEndSearcher.cacheLookupTwoPhase(CacheKey cacheKey,
Result result,
String summaryClass) |
protected abstract Result |
VespaBackEndSearcher.doSearch2(Query query,
QueryPacket queryPacket,
CacheKey cacheKey,
Execution execution)
Searches a search cluster
This is an endpoint - searchers will never propagate the search to any nested searcher.
|
Result |
FastSearcher.doSearch2(Query query,
QueryPacket queryPacket,
CacheKey cacheKey,
Execution execution) |
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 |
---|---|
protected boolean |
PacketCache.removeEldestEntry(Map.Entry<CacheKey,PacketWrapper> eldest)
Overrides LinkedHashMap.removeEldestEntry as suggested to implement LRU cache.
|
Constructor and Description |
---|
PacketWrapper(CacheKey key,
BasicPacket[] packets)
Only used by PacketCacheTestCase, should not be used otherwise
|
PacketWrapper(CacheKey key,
DocsumPacketKey[] packetKeys,
BasicPacket[] bpackets,
Optional<Integer> distributionKey) |
Modifier and Type | Method and Description |
---|---|
Result |
VdsStreamingSearcher.doSearch2(Query query,
QueryPacket queryPacket,
CacheKey cacheKey,
Execution execution) |
Copyright © 2018. All rights reserved.