组合类型 |
struct | st_keycache_wqueue |
struct | st_key_cache |
宏定义 |
#define | CHANGED_BLOCKS_HASH 128 |
类型定义 |
typedef struct st_block_link | BLOCK_LINK |
typedef struct st_keycache_page | KEYCACHE_PAGE |
typedef struct st_hash_link | HASH_LINK |
typedef struct st_keycache_wqueue | KEYCACHE_WQUEUE |
typedef int(* | KEYCACHE_POST_WRITE_CALLBACK )(void *arg, const uchar *buffert, uint length, my_off_t filepos) |
typedef struct st_key_cache | KEY_CACHE |
函数 |
int | init_key_cache (KEY_CACHE *keycache, uint key_cache_block_size, size_t use_mem, uint division_limit, uint age_threshold) |
int | resize_key_cache (KEY_CACHE *keycache, uint key_cache_block_size, size_t use_mem, uint division_limit, uint age_threshold) |
void | change_key_cache_param (KEY_CACHE *keycache, uint division_limit, uint age_threshold) |
uchar * | key_cache_read (KEY_CACHE *keycache, File file, my_off_t filepos, int level, uchar *buff, uint length, uint block_length, int return_buffer) |
int | key_cache_insert (KEY_CACHE *keycache, File file, my_off_t filepos, int level, uchar *buff, uint length) |
int | key_cache_write (KEY_CACHE *keycache, File file, my_off_t filepos, int level, uchar *buff, uint length, uint block_length, int force_write, void *post_write_arg) |
int | flush_key_blocks (KEY_CACHE *keycache, int file, enum flush_type type) |
void | end_key_cache (KEY_CACHE *keycache, my_bool cleanup) |
my_bool | multi_keycache_init (void) |
void | multi_keycache_free (void) |
KEY_CACHE * | multi_key_cache_search (uchar *key, uint length, KEY_CACHE *def) |
my_bool | multi_key_cache_set (const uchar *key, uint length, KEY_CACHE *key_cache) |
void | multi_key_cache_change (KEY_CACHE *old_data, KEY_CACHE *new_data) |
int | reset_key_cache_counters (const char *name, KEY_CACHE *key_cache) |
变量 |
KEY_CACHE | dflt_key_cache_var |
KEY_CACHE * | dflt_key_cache |