MySQL 9.1.0
Source Code Documentation
|
#include "xcom/xcom_cache.h"
#include <assert.h>
#include <rpc/rpc.h>
#include <stdlib.h>
#include "xcom/app_data.h"
#include "xcom/bitset.h"
#include "xcom/node_no.h"
#include "xcom/pax_msg.h"
#include "xcom/server_struct.h"
#include "xcom/simset.h"
#include "xcom/site_def.h"
#include "xcom/site_struct.h"
#include "xcom/synode_no.h"
#include "xcom/task.h"
#include "xcom/task_debug.h"
#include "xcom/xcom_base.h"
#include "xcom/xcom_cfg.h"
#include "xcom/xcom_common.h"
#include "xcom/xcom_detector.h"
#include "xcom/xcom_memory.h"
#include "xcom/xcom_profile.h"
#include "xcom/xcom_transport.h"
#include "xcom/xcom_vp_str.h"
#include "xdr_gen/xcom_vp.h"
Classes | |
struct | lru_machine |
struct | stack_machine |
Macros | |
#define | DBG_CACHE_SIZE 0 |
#define | MIN_CACHED 10 |
#define | BUCKETS length_increment |
Variables | |
static synode_no | last_removed_cache |
static size_t | length_increment = INCREMENT |
static size_t | size_decrement = INCREMENT / 10 |
static linkage | hash_stack |
static linkage | protected_lru |
static linkage | probation_lru |
static uint64_t | highest_msgno = 0 |
static uint64_t | cache_length = 0 |
static uint64_t | occupation = 0 |
static uint64_t | cache_size = 0 |
static uint64_t | dec_threshold_length = DEC_THRESHOLD_LENGTH |
static float | min_target_occupation = MIN_TARGET_OCCUPATION |
static float | dec_threshold_size = DEC_THRESHOLD_SIZE |
static float | min_length_threshold = MIN_LENGTH_THRESHOLD |
int | xcom_shutdown |
#define BUCKETS length_increment |
#define DBG_CACHE_SIZE 0 |
#define MIN_CACHED 10 |
int above_cache_limit | ( | ) |
uint64_t add_cache_size | ( | pax_machine * | p | ) |
|
static |
synode_no cache_get_last_removed | ( | ) |
int cache_manager_task | ( | task_arg | arg | ) |
|
inlinestatic |
uint16_t check_decrease | ( | ) |
char * dbg_machine_nodeset | ( | pax_machine * | p, |
u_int | nodes | ||
) |
void deinit_cache | ( | ) |
|
static |
void do_cache_maintenance | ( | ) |
|
static |
|
static |
|
static |
pax_machine * force_get_cache | ( | synode_no | synode | ) |
|
static |
|
inlinestatic |
pax_machine * get_cache | ( | synode_no | synode | ) |
pax_machine * get_cache_no_touch | ( | synode_no | synode, |
bool_t | force | ||
) |
uint64_t get_xcom_cache_length | ( | ) |
uint64_t get_xcom_cache_occupation | ( | ) |
uint64_t get_xcom_cache_size | ( | ) |
pax_machine * hash_get | ( | synode_no | synode | ) |
|
static |
|
static |
|
static |
void hexdump | ( | void * | p, |
long | length | ||
) |
void init_cache | ( | ) |
void init_cache_size | ( | ) |
pax_machine * init_pax_machine | ( | pax_machine * | p, |
lru_machine * | lru, | ||
synode_no | synode | ||
) |
int is_busy_machine | ( | pax_machine * | p | ) |
int lock_pax_machine | ( | pax_machine * | p | ) |
|
static |
|
static |
size_t pax_machine_size | ( | pax_machine const * | p | ) |
void paxos_timeout | ( | pax_machine * | p | ) |
|
static |
void set_dec_threshold_size | ( | float | t_hold | ) |
void set_length_increment | ( | size_t | increment | ) |
uint64_t set_max_cache_size | ( | uint64_t | x | ) |
void set_min_length_threshold | ( | float | threshold | ) |
void set_min_target_occupation | ( | float | threshold | ) |
void set_size_decrement | ( | size_t | decrement | ) |
size_t shrink_cache | ( | ) |
uint64_t sub_cache_size | ( | pax_machine * | p | ) |
|
static |
void unlock_pax_machine | ( | pax_machine * | p | ) |
|
static |
int was_removed_from_cache | ( | synode_no | x | ) |
void xcom_cache_var_init | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
extern |