7 #ifndef STORAGE_LEVELDB_DB_TABLE_CACHE_H_ 8 #define STORAGE_LEVELDB_DB_TABLE_CACHE_H_ 36 Table** tableptr = NULL);
45 void (*handle_result)(
void*,
const Slice&,
const Slice&));
61 #endif // STORAGE_LEVELDB_DB_TABLE_CACHE_H_ Definition: autocompact_test.cc:11
Definition: iterator.h:23
~TableCache()
Definition: table_cache.cc:41
Definition: table_cache.h:21
const Options * options_
Definition: table_cache.h:53
void Evict(uint64_t file_number)
Definition: table_cache.cc:121
Cache * cache_
Definition: table_cache.h:54
Status FindTable(uint64_t file_number, uint64_t file_size, Cache::Handle **)
Definition: table_cache.cc:45
unsigned long long uint64_t
Definition: stdint.h:22
static char dbname[200]
Definition: c_test.c:15
Iterator * NewIterator(const ReadOptions &options, uint64_t file_number, uint64_t file_size, Table **tableptr=NULL)
Definition: table_cache.cc:82
Definition: options.h:161
Status Get(const ReadOptions &options, uint64_t file_number, uint64_t file_size, const Slice &k, void *arg, void(*handle_result)(void *, const Slice &, const Slice &))
Definition: table_cache.cc:105
Env *const env_
Definition: table_cache.h:51
const std::string dbname_
Definition: table_cache.h:52
TableCache(const std::string &dbname, const Options *options, int entries)
Definition: table_cache.cc:32