#include "config.h"
#include <pthread.h>
#include <stdbool.h>
#include <memcached/engine.h>
#include <memcached/util.h>
#include <memcached/visibility.h>
#include "trace.h"
#include "items.h"
#include "assoc.h"
#include "slabs.h"
Go to the source code of this file.
◆ CHUNK_ALIGN_BYTES
#define CHUNK_ALIGN_BYTES 8 |
◆ DONT_PREALLOC_SLABS
#define DONT_PREALLOC_SLABS |
◆ ITEM_LINKED
#define ITEM_LINKED (1<<8) |
◆ ITEM_SLABBED
#define ITEM_SLABBED (2<<8) |
◆ ITEM_WITH_CAS
◆ MAX_NUMBER_OF_SLAB_CLASSES
◆ NUM_VBUCKETS
#define NUM_VBUCKETS 65536 |
◆ POWER_LARGEST
#define POWER_LARGEST 200 |
◆ POWER_SMALLEST
◆ TAIL_REPAIR_TIME
#define TAIL_REPAIR_TIME (3 * 3600) |
How long an object can reasonably be assumed to be locked before harvesting it on a low memory condition.
◆ create_instance()
MEMCACHED_PUBLIC_API ENGINE_ERROR_CODE create_instance |
( |
uint64_t |
interface, |
|
|
GET_SERVER_API |
get_server_api, |
|
|
ENGINE_HANDLE ** |
handle |
|
) |
| |
◆ item_get_cas()
uint64_t item_get_cas |
( |
const hash_item * |
item | ) |
|
◆ item_get_clsid()
uint8_t item_get_clsid |
( |
const hash_item * |
item | ) |
|
◆ item_get_data()
char* item_get_data |
( |
const hash_item * |
item | ) |
|
◆ item_get_key()
const void* item_get_key |
( |
const hash_item * |
item | ) |
|
◆ item_set_cas()
void item_set_cas |
( |
ENGINE_HANDLE * |
handle, |
|
|
const void * |
cookie, |
|
|
item * |
item, |
|
|
uint64_t |
val |
|
) |
| |