Lines Matching refs:Cache
16 Cache::~Cache() { in ~Cache()
162 Cache::Handle* Insert(const Slice& key, uint32_t hash,
165 Cache::Handle* Lookup(const Slice& key, uint32_t hash);
166 void Release(Cache::Handle* handle);
255 Cache::Handle* LRUCache::Lookup(const Slice& key, uint32_t hash) { in Lookup()
261 return reinterpret_cast<Cache::Handle*>(e); in Lookup()
264 void LRUCache::Release(Cache::Handle* handle) { in Release()
269 Cache::Handle* LRUCache::Insert( in Insert()
302 return reinterpret_cast<Cache::Handle*>(e); in Insert()
338 class ShardedLRUCache : public Cache {
401 Cache* NewLRUCache(size_t capacity) { in NewLRUCache()