Logo Search packages:      
Sourcecode: leveldb version File versions  Download package

Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes

leveldb::CacheTest Class Reference

Collaboration diagram for leveldb::CacheTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Erase (int key)
void Insert (int key, int value, int charge=1)
int Lookup (int key)

Static Public Member Functions

static void Deleter (const Slice &key, void *v)

Public Attributes

Cachecache_
std::vector< int > deleted_keys_
std::vector< int > deleted_values_

Static Public Attributes

static CacheTestcurrent_
static const int kCacheSize = 1000

Detailed Description

Definition at line 26 of file cache_test.cc.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index