CUBRID Engine
latest
|
#include <xasl_cache.h>
Public Member Functions | |
xasl_cache_ent () | |
~xasl_cache_ent () | |
void | init_clone_cache () |
Public Attributes | |
XASL_ID | xasl_id |
XASL_STREAM | stream |
XASL_CACHE_ENTRY * | stack |
XASL_CACHE_ENTRY * | next |
UINT64 | del_id |
EXECUTION_INFO | sql_info |
int | xasl_header_flag |
XCACHE_RELATED_OBJECT * | related_objects |
int | n_related_objects |
struct timeval | time_last_used |
INT64 | ref_count |
INT64 | clr_count |
int | list_ht_no |
bool | free_data_on_uninit |
XASL_CLONE * | cache_clones |
XASL_CLONE | one_clone |
int | n_cache_clones |
int | cache_clones_capacity |
pthread_mutex_t | cache_clones_mutex |
INT64 | time_last_rt_check |
bool | initialized |
Definition at line 90 of file xasl_cache.h.
xasl_cache_ent::xasl_cache_ent | ( | ) |
Definition at line 371 of file xasl_cache.c.
References NULL, and pthread_mutex_init.
xasl_cache_ent::~xasl_cache_ent | ( | ) |
Definition at line 377 of file xasl_cache.c.
References assert, NULL, and pthread_mutex_destroy.
void xasl_cache_ent::init_clone_cache | ( | ) |
Definition at line 384 of file xasl_cache.c.
References NULL.
Referenced by xcache_entry_alloc().
XASL_CLONE* xasl_cache_ent::cache_clones |
Definition at line 119 of file xasl_cache.h.
Referenced by xcache_entry_free(), xcache_entry_uninit(), xcache_invalidate_entries(), xcache_retire_clone(), and xcache_unfix().
int xasl_cache_ent::cache_clones_capacity |
Definition at line 122 of file xasl_cache.h.
Referenced by xcache_entry_uninit(), and xcache_retire_clone().
pthread_mutex_t xasl_cache_ent::cache_clones_mutex |
Definition at line 123 of file xasl_cache.h.
Referenced by xcache_entry_alloc(), xcache_entry_free(), and xcache_retire_clone().
INT64 xasl_cache_ent::clr_count |
Definition at line 113 of file xasl_cache.h.
Referenced by xcache_entry_init().
UINT64 xasl_cache_ent::del_id |
Definition at line 100 of file xasl_cache.h.
bool xasl_cache_ent::free_data_on_uninit |
Definition at line 116 of file xasl_cache.h.
Referenced by xcache_entry_init(), and xcache_entry_uninit().
bool xasl_cache_ent::initialized |
Definition at line 128 of file xasl_cache.h.
Referenced by xcache_entry_init(), and xcache_entry_uninit().
int xasl_cache_ent::list_ht_no |
Definition at line 114 of file xasl_cache.h.
Referenced by qexec_clear_list_cache_by_class(), xcache_cleanup(), xcache_entry_alloc(), xcache_invalidate_entries(), xcache_invalidate_qcaches(), xcache_unfix(), and xqmgr_execute_query().
int xasl_cache_ent::n_cache_clones |
Definition at line 121 of file xasl_cache.h.
Referenced by xcache_dump(), xcache_entry_init(), xcache_entry_uninit(), xcache_invalidate_entries(), xcache_retire_clone(), and xcache_unfix().
int xasl_cache_ent::n_related_objects |
Definition at line 110 of file xasl_cache.h.
Referenced by qmgr_is_related_class_modified(), xcache_check_recompilation_threshold(), xcache_dump(), and xcache_entry_is_related_to_oid().
XASL_CACHE_ENTRY* xasl_cache_ent::next |
Definition at line 98 of file xasl_cache.h.
XASL_CLONE xasl_cache_ent::one_clone |
Definition at line 120 of file xasl_cache.h.
Referenced by xcache_entry_free(), xcache_entry_uninit(), and xcache_retire_clone().
INT64 xasl_cache_ent::ref_count |
Definition at line 112 of file xasl_cache.h.
Referenced by xcache_dump(), xcache_entry_init(), and xcache_unfix().
XCACHE_RELATED_OBJECT* xasl_cache_ent::related_objects |
Definition at line 105 of file xasl_cache.h.
Referenced by qmgr_is_related_class_modified(), xcache_check_recompilation_threshold(), xcache_dump(), xcache_entry_init(), xcache_entry_is_related_to_oid(), and xcache_entry_uninit().
EXECUTION_INFO xasl_cache_ent::sql_info |
Definition at line 103 of file xasl_cache.h.
Referenced by event_log_sql_string(), qfile_update_list_cache_entry(), qmgr_get_query_sql_user_text(), sqmgr_execute_query(), xcache_dump(), xcache_entry_init(), xcache_entry_uninit(), and xlogtb_get_pack_tran_table().
XASL_CACHE_ENTRY* xasl_cache_ent::stack |
Definition at line 97 of file xasl_cache.h.
XASL_STREAM xasl_cache_ent::stream |
Definition at line 94 of file xasl_cache.h.
Referenced by xcache_entry_init(), xcache_entry_uninit(), and xsession_get_prepared_statement().
INT64 xasl_cache_ent::time_last_rt_check |
Definition at line 126 of file xasl_cache.h.
Referenced by xcache_check_recompilation_threshold().
struct timeval xasl_cache_ent::time_last_used |
Definition at line 111 of file xasl_cache.h.
Referenced by xcache_cleanup(), xcache_dump(), and xcache_unfix().
int xasl_cache_ent::xasl_header_flag |
Definition at line 104 of file xasl_cache.h.
XASL_ID xasl_cache_ent::xasl_id |
Definition at line 92 of file xasl_cache.h.
Referenced by xcache_can_entry_cache_list(), xcache_check_recompilation_threshold(), xcache_cleanup(), xcache_dump(), xcache_entry_init(), xcache_entry_mark_deleted(), xcache_entry_set_request_recompile_flag(), xcache_entry_uninit(), xcache_insert(), xcache_invalidate_entries(), xcache_unfix(), xqmgr_prepare_query(), and xsession_get_prepared_statement().