File shard_shm.c¶
FileList > broker > shard_shm.c
Go to the source code of this file
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <sys/types.h>#include <sys/stat.h>#include <assert.h>#include "dbi.h"#include "cas_common.h"#include "broker_env_def.h"#include "broker_filename.h"#include "broker_shm.h"#include "broker_admin_pub.h"#include "shard_metadata.h"#include "shard_shm.h"
Public Functions¶
Public Static Functions¶
| Type | Name |
|---|---|
| void | shard_shm_dump_proxy (FILE * fp, T_SHM_PROXY * shm_proxy_p) |
| void | shard_shm_dump_proxy_info (FILE * fp, T_PROXY_INFO * proxy_info_p) |
| void | shard_shm_dump_shard (FILE * fp, T_SHARD_INFO * shard_info_p, T_SHM_APPL_SERVER * shm_as_p) |
| void | shard_shm_dump_shard_appl_server (FILE * fp, T_APPL_SERVER_INFO * as_info_p) |
| int | shard_shm_get_max_context (int max_num_appl_server) |
| void | shard_shm_init_key_stat (T_SHM_SHARD_KEY_STAT * key_stat_p, T_SHARD_KEY * shard_key) |
| void | shard_shm_init_shard_stat (T_SHM_SHARD_CONN_STAT * shard_stat_p, T_SHARD_CONN * shard_conn) |
| void | shard_shm_set_shm_proxy (T_SHM_PROXY * shm_proxy_p, T_BROKER_INFO * br_info_p) |
Macros¶
| Type | Name |
|---|---|
| define | BLANK_3 " " |
| define | BLANK_6 " " |
| define | BLANK_9 " " |
| define | LINE_70 /* multi line expression */ |
Public Functions Documentation¶
function shard_shm_dump_appl_server¶
function shard_shm_dump_appl_server_internal¶
function shard_shm_find_proxy_info¶
function shard_shm_find_shard_info¶
function shard_shm_get_as_info¶
T_APPL_SERVER_INFO * shard_shm_get_as_info (
T_PROXY_INFO * proxy_info_p,
T_SHM_APPL_SERVER * shm_as_p,
int shard_id,
int as_id
)
function shard_shm_get_client_info¶
function shard_shm_get_key_stat¶
function shard_shm_get_shard_stat¶
function shard_shm_init_client_info¶
function shard_shm_init_client_info_request¶
function shard_shm_initialize_shm_proxy¶
function shard_shm_set_as_client_info¶
bool shard_shm_set_as_client_info (
T_PROXY_INFO * proxy_info_p,
T_SHM_APPL_SERVER * shm_as_p,
int shard_id,
int as_id,
unsigned int ip_addr,
char * driver_info,
char * driver_version
)
function shard_shm_set_as_client_info_with_db_param¶
bool shard_shm_set_as_client_info_with_db_param (
T_PROXY_INFO * proxy_info_p,
T_SHM_APPL_SERVER * shm_as_p,
int shard_id,
int as_id,
T_CLIENT_INFO * client_info_p
)
function shard_shm_set_client_info_request¶
function shard_shm_set_client_info_response¶
Public Static Functions Documentation¶
function shard_shm_dump_proxy¶
function shard_shm_dump_proxy_info¶
function shard_shm_dump_shard¶
static void shard_shm_dump_shard (
FILE * fp,
T_SHARD_INFO * shard_info_p,
T_SHM_APPL_SERVER * shm_as_p
)
function shard_shm_dump_shard_appl_server¶
function shard_shm_get_max_context¶
function shard_shm_init_key_stat¶
function shard_shm_init_shard_stat¶
static void shard_shm_init_shard_stat (
T_SHM_SHARD_CONN_STAT * shard_stat_p,
T_SHARD_CONN * shard_conn
)
function shard_shm_set_shm_proxy¶
Macro Definition Documentation¶
define BLANK_3¶
define BLANK_6¶
define BLANK_9¶
define LINE_70¶
The documentation for this class was generated from the following file cubrid/src/broker/shard_shm.c