|
| SharedMemCacheTestBase (SharedMemTestEnv *test_env) |
|
virtual void | TearDown () |
|
virtual SharedMemCache
< kBlockSize > * | Cache () |
|
virtual void | SanityCheck () |
|
void | TestBasic () |
|
void | TestReinsert () |
|
void | TestReplacement () |
|
void | TestReaderWriter () |
|
void | TestConflict () |
|
void | TestEvict () |
|
void | TestSnapshot () |
|
void | TestRegisterSnapshotFileCache () |
|
void | TestCheckpointAndRestore () |
|
void | ResetCache () |
|
virtual Callback * | NewCallback () |
|
virtual void | PostOpCleanup () |
|
void | CheckGet (const GoogleString &key, const GoogleString &expected_value) |
|
void | CheckGet (CacheInterface *cache, const GoogleString &key, const GoogleString &expected_value) |
| As above, but specifies which cache to use.
|
|
void | CheckPut (const GoogleString &key, const GoogleString &value) |
| Writes a value into the cache.
|
|
void | CheckPut (CacheInterface *cache, const GoogleString &key, const GoogleString &value) |
|
void | CheckDelete (const GoogleString &key) |
|
void | CheckNotFound (const char *key) |
| Performs a Get and verifies that the key is not found.
|
|
void | CheckNotFound (CacheInterface *cache, const char *key) |
|
Callback * | AddCallback () |
|
void | WaitAndCheck (Callback *callback, const GoogleString &expected_value) |
|
void | WaitAndCheckNotFound (Callback *callback) |
|
void | IssueMultiGet (Callback *c0, const GoogleString &key0, Callback *c1, const GoogleString &key1, Callback *c2, const GoogleString &key2) |
|
void | TestMultiGet () |
|
void | PopulateCache (int num) |
|
void | set_invalid_value (const char *v) |
|
void | set_invalid_key (const char *k) |
|
Callback * | InitiateGet (const GoogleString &key) |
|
Callback * | InitiateGet (CacheInterface *cache, const GoogleString &key) |
|
void | set_mutex (AbstractMutex *mutex) |
| Sets the mutex used to protect outstanding_fetches_.
|
|
int | outstanding_fetches () |
|