|
|
@ -96,14 +96,6 @@ class LEVELDB_EXPORT Cache { |
|
|
|
// Return an estimate of the combined charges of all elements stored in the |
|
|
|
// cache. |
|
|
|
virtual size_t TotalCharge() const = 0; |
|
|
|
|
|
|
|
private: |
|
|
|
void LRU_Remove(Handle* e); |
|
|
|
void LRU_Append(Handle* e); |
|
|
|
void Unref(Handle* e); |
|
|
|
|
|
|
|
struct Rep; |
|
|
|
Rep* rep_; |
|
|
|
}; |
|
|
|
|
|
|
|
} // namespace leveldb |
|
|
|