Skip to content

File shard_proxy.c

FileList > broker > shard_proxy.c

Go to the source code of this file

  • #include <signal.h>
  • #include <errno.h>
  • #include "porting.h"
  • #include "shard_proxy.h"
  • #include "shard_proxy_handler.h"
  • #include "shard_key_func.h"
  • #include "system_parameter.h"

Public Attributes

Type Name
int appl_server_shm_id = -1
bool proxy_Keep_running
int proxy_id = -1
T_PROXY_INFO * proxy_info_p = [**NULL**](freelistheap_8h.md#define-null)
int proxy_shm_id = -1
T_SHM_APPL_SERVER * shm_appl = [**NULL**](freelistheap_8h.md#define-null)
T_SHM_APPL_SERVER * shm_as_p = [**NULL**](freelistheap_8h.md#define-null)
T_SHM_SHARD_CONN * shm_conn_p = [**NULL**](freelistheap_8h.md#define-null)
T_SHM_SHARD_KEY * shm_key_p = [**NULL**](freelistheap_8h.md#define-null)
T_SHM_PROXY * shm_proxy_p = [**NULL**](freelistheap_8h.md#define-null)
T_SHM_SHARD_USER * shm_user_p = [**NULL**](freelistheap_8h.md#define-null)

Public Functions

Type Name
int main (int argc, char * argv)
void proxy_term (void)

Public Static Functions

Type Name
void cleanup (int signo)
void proxy_set_hang_check_time (void)
int proxy_shm_initialize (void)
void proxy_unset_hang_check_time (void)

Macros

Type Name
define ENDLESS 1

Public Attributes Documentation

variable appl_server_shm_id

int appl_server_shm_id;

variable proxy_Keep_running

bool proxy_Keep_running;

variable proxy_id

int proxy_id;

variable proxy_info_p

T_PROXY_INFO* proxy_info_p;

variable proxy_shm_id

int proxy_shm_id;

variable shm_appl

T_SHM_APPL_SERVER* shm_appl;

variable shm_as_p

T_SHM_APPL_SERVER* shm_as_p;

variable shm_conn_p

T_SHM_SHARD_CONN* shm_conn_p;

variable shm_key_p

T_SHM_SHARD_KEY* shm_key_p;

variable shm_proxy_p

T_SHM_PROXY* shm_proxy_p;

variable shm_user_p

T_SHM_SHARD_USER* shm_user_p;

Public Functions Documentation

function main

int main (
    int argc,
    char * argv
) 

function proxy_term

void proxy_term (
    void
) 

Public Static Functions Documentation

function cleanup

static void cleanup (
    int signo
) 

function proxy_set_hang_check_time

static void proxy_set_hang_check_time (
    void
) 

function proxy_shm_initialize

static int proxy_shm_initialize (
    void
) 

function proxy_unset_hang_check_time

static void proxy_unset_hang_check_time (
    void
) 

Macro Definition Documentation

define ENDLESS

#define ENDLESS `1`


The documentation for this class was generated from the following file cubrid/src/broker/shard_proxy.c