1
0
mirror of https://github.com/google/leveldb.git synced 2025-04-27 14:10:28 +08:00
This commit is contained in:
janicetimelessbeauty 2023-10-08 20:50:36 +11:00
parent 068d5ee1a3
commit 1ec9c2ae8c

View File

@ -79,6 +79,7 @@ class LEVELDB_EXPORT Cache {
// underlying entry will be kept around until all existing handles
// to it have been released.
virtual void Erase(const Slice& key) = 0;
virtual void AddSome(const Entity& value) = 0;
// Return a new numeric id. May be used by multiple clients who are
// sharing the same cache to partition the key space. Typically the