◆ ShardedLRUCache()
| leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::ShardedLRUCache |
( |
size_t |
capacity | ) |
|
|
inlineexplicit |
◆ ~ShardedLRUCache()
| virtual leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::~ShardedLRUCache |
( |
| ) |
|
|
inlinevirtual |
◆ Erase()
| virtual void leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::Erase |
( |
const Slice & |
key | ) |
|
|
inlinevirtual |
◆ HashSlice()
| static uint32_t leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::HashSlice |
( |
const Slice & |
s | ) |
|
|
inlinestaticprivate |
◆ Insert()
| virtual Handle* leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::Insert |
( |
const Slice & |
key, |
|
|
void * |
value, |
|
|
size_t |
charge, |
|
|
void(*)(const Slice &key, void *value) |
deleter |
|
) |
| |
|
inlinevirtual |
◆ Lookup()
| virtual Handle* leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::Lookup |
( |
const Slice & |
key | ) |
|
|
inlinevirtual |
◆ NewId()
| virtual uint64_t leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::NewId |
( |
| ) |
|
|
inlinevirtual |
◆ Prune()
| virtual void leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::Prune |
( |
| ) |
|
|
inlinevirtual |
◆ Release()
| virtual void leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::Release |
( |
Handle * |
handle | ) |
|
|
inlinevirtual |
◆ Shard()
| static uint32_t leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::Shard |
( |
uint32_t |
hash | ) |
|
|
inlinestaticprivate |
◆ TotalCharge()
| virtual size_t leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::TotalCharge |
( |
| ) |
const |
|
inlinevirtual |
◆ Value()
| virtual void* leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::Value |
( |
Handle * |
handle | ) |
|
|
inlinevirtual |
◆ id_mutex_
| port::Mutex leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::id_mutex_ |
|
private |
◆ last_id_
| uint64_t leveldb::anonymous_namespace{cache.cc}::ShardedLRUCache::last_id_ |
|
private |
◆ shard_
The documentation for this class was generated from the following file: