File double_write_buffer.hpp¶
FileList > cubrid > src > storage > double_write_buffer.hpp
Go to the source code of this file
#include "file_io.h"#include "log_lsa.hpp"
Classes¶
| Type | Name |
|---|---|
| struct | double_write_slot |
Public Types¶
| Type | Name |
|---|---|
| typedef struct double_write_slot | DWB_SLOT |
Public Functions¶
| Type | Name |
|---|---|
| int | dwb_add_page (THREAD_ENTRY * thread_p, FILEIO_PAGE * io_page_p, VPID * vpid, bool ensure_metadata, DWB_SLOT ** p_dwb_slot) |
| int | dwb_create (THREAD_ENTRY * thread_p, const char * dwb_path_p, const char * db_name_p) |
| void | dwb_daemons_destroy () |
| void | dwb_daemons_init () |
| int | dwb_destroy (THREAD_ENTRY * thread_p) |
| int | dwb_flush_force (THREAD_ENTRY * thread_p, bool * all_sync) |
| char * | dwb_get_volume_name (void) |
| bool | dwb_is_created (void) |
| int | dwb_load_and_recover_pages (THREAD_ENTRY * thread_p, const char * dwb_path_p, const char * db_name_p) |
| int | dwb_read_page (THREAD_ENTRY * thread_p, const VPID * vpid, void * io_page, bool * success) |
| int | dwb_recreate (THREAD_ENTRY * thread_p) |
| int | dwb_set_data_on_next_slot (THREAD_ENTRY * thread_p, FILEIO_PAGE * io_page_p, bool can_wait, bool ensure_metadata, DWB_SLOT ** p_dwb_slot) |
| int | dwb_synchronize (THREAD_ENTRY * thread_p, int vol_fd, const char * vlabel) |
Public Types Documentation¶
typedef DWB_SLOT¶
Public Functions Documentation¶
function dwb_add_page¶
int dwb_add_page (
THREAD_ENTRY * thread_p,
FILEIO_PAGE * io_page_p,
VPID * vpid,
bool ensure_metadata,
DWB_SLOT ** p_dwb_slot
)
function dwb_create¶
function dwb_daemons_destroy¶
function dwb_daemons_init¶
function dwb_destroy¶
function dwb_flush_force¶
function dwb_get_volume_name¶
function dwb_is_created¶
function dwb_load_and_recover_pages¶
int dwb_load_and_recover_pages (
THREAD_ENTRY * thread_p,
const char * dwb_path_p,
const char * db_name_p
)
function dwb_read_page¶
function dwb_recreate¶
function dwb_set_data_on_next_slot¶
int dwb_set_data_on_next_slot (
THREAD_ENTRY * thread_p,
FILEIO_PAGE * io_page_p,
bool can_wait,
bool ensure_metadata,
DWB_SLOT ** p_dwb_slot
)
function dwb_synchronize¶
The documentation for this class was generated from the following file cubrid/src/storage/double_write_buffer.hpp