Home
last modified time | relevance | path

Searched defs:InsertOp (Results 1 – 1 of 1) sorted by relevance

/rocksdb-6.9/utilities/persistent_cache/
Dblock_cache_tier.h88 struct InsertOp { struct
89 explicit InsertOp(const bool signal) : signal_(signal) {} in InsertOp() argument
90 explicit InsertOp(std::string&& key, const std::string& data) in InsertOp() function
92 ~InsertOp() {} in ~InsertOp() argument
96 InsertOp& operator=(InsertOp&& rhs) = default; argument
99 size_t Size() { return data_.size() + key_.size(); } in Size()
101 std::string key_;
102 std::string data_;
103 bool signal_ = false; // signal to request processing thread to exit