Home
last modified time | relevance | path

Searched refs:cache_opts (Results 1 – 3 of 3) sorted by relevance

/rocksdb-6.9/cache/
Dlru_cache.cc545 std::shared_ptr<Cache> NewLRUCache(const LRUCacheOptions& cache_opts) { in NewLRUCache() argument
546 return NewLRUCache(cache_opts.capacity, cache_opts.num_shard_bits, in NewLRUCache()
547 cache_opts.strict_capacity_limit, in NewLRUCache()
548 cache_opts.high_pri_pool_ratio, in NewLRUCache()
549 cache_opts.memory_allocator, cache_opts.use_adaptive_mutex, in NewLRUCache()
550 cache_opts.metadata_charge_policy); in NewLRUCache()
/rocksdb-6.9/table/block_based/
Dblock_based_table_factory.cc495 LRUCacheOptions cache_opts; in ParseBlockBasedTableOption() local
496 if (!ParseOptionHelper(reinterpret_cast<char*>(&cache_opts), in ParseBlockBasedTableOption()
500 cache = NewLRUCache(cache_opts); in ParseBlockBasedTableOption()
/rocksdb-6.9/include/rocksdb/
Dcache.h121 extern std::shared_ptr<Cache> NewLRUCache(const LRUCacheOptions& cache_opts);