| 24 | } |
| 25 | |
| 26 | static void UnrefEntry(void* arg1, void* arg2) { |
| 27 | Cache* cache = reinterpret_cast<Cache*>(arg1); |
| 28 | Cache::Handle* h = reinterpret_cast<Cache::Handle*>(arg2); |
| 29 | cache->Release(h); |
| 30 | } |
| 31 | |
| 32 | TableCache::TableCache(const std::string& dbname, const Options& options, |
| 33 | int entries) |