Searched refs:BlockCacheTier (Results 1 – 5 of 5) sorted by relevance
24 Status BlockCacheTier::Open() { in Open()73 insert_th_ = port::Thread(&BlockCacheTier::InsertMain, this); in Open()92 Status BlockCacheTier::CleanupCacheFolder(const std::string& folder) { in CleanupCacheFolder()119 Status BlockCacheTier::Close() { in Close()142 PersistentCache::StatsType BlockCacheTier::Stats() { in Stats()174 Status BlockCacheTier::Insert(const Slice& key, const char* data, in Insert()190 void BlockCacheTier::InsertMain() { in InsertMain()316 bool BlockCacheTier::Erase(const Slice& key) { in Erase()324 Status BlockCacheTier::NewCacheFile() { in NewCacheFile()356 bool BlockCacheTier::Reserve(const size_t size) { in Reserve()[all …]
43 class BlockCacheTier : public PersistentCacheTier {45 explicit BlockCacheTier(const PersistentCacheConfig& opt) in BlockCacheTier() function54 virtual ~BlockCacheTier() { in ~BlockCacheTier()
67 std::unique_ptr<PersistentCacheTier> cache(new BlockCacheTier(opt)); in NewBlockCache()83 auto scache = std::shared_ptr<PersistentCacheTier>(new BlockCacheTier(opt)); in NewTieredCache()
97 auto scache = std::shared_ptr<PersistentCacheTier>(new BlockCacheTier(opt)); in NewTieredCache()116 std::unique_ptr<PersistentCacheTier> scache(new BlockCacheTier(opt)); in NewBlockCache()
3856 auto pcache = std::make_shared<BlockCacheTier>(rc_cfg); in InitializeOptionsFromFlags()