#include <list>
#include <vector>
#include <sstream>
#include <pthread.h>
#include "Value.h"
#include "Cache.h"
#include "User.h"
#include "LightString.h"
#include "config.h"
#include <tr1/unordered_map>
Go to the source code of this file.
Classes | |
| struct | Stats |
| Structure holding every sort of meta information of the Space object. More... | |
| class | Space |
| Class containing the logical namespace of the cache. More... | |
| class | Space::HashTabElement |
| Auxiliary class for keeping elements in the hash table, containing information about the cached value and iterator to LRUList. More... | |
| class | Space::LRUListElement |
| Auxiliary class for keeping elements in the LRUList, containing the key to hash table and expiry time of the cached value. More... | |
Defines | |
| #define | get16bits(d) (*((const uint16_t *) (d))) |
| Gets 16 bits from numeric. | |
Enumerations | |
| enum | SpaceResult { RESULT_SUCCESS, RESULT_MISS, RESULT_EXISTS, RESULT_CAS_FAIL, RESULT_ERROR, RESULT_BAD_SIZE } |
| enumeration of possible library operation results | |
Functions | |
| size_t | HASH (const LightString key) |
| Hash function for LightString. | |
Definition in file Space.h.
| size_t HASH | ( | const LightString | key | ) | [inline] |
1.5.5