pub struct Config { /* private fields */ }
Expand description
Struct to access configuration values.
Implementations§
Source§impl Config
impl Config
Sourcepub fn get_log_dir(&self) -> &String
pub fn get_log_dir(&self) -> &String
Get value of a parameter.
Sourcepub fn set_log_dir(&mut self, log_dir: String)
pub fn set_log_dir(&mut self, log_dir: String)
Set value of a parameter.
Sourcepub fn get_datastore_path(&self) -> &String
pub fn get_datastore_path(&self) -> &String
Get value of a parameter.
Sourcepub fn set_datastore_path(&mut self, datastore_path: String)
pub fn set_datastore_path(&mut self, datastore_path: String)
Set value of a parameter.
Sourcepub fn get_max_log_file_size(&self) -> &u32
pub fn get_max_log_file_size(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_max_log_file_size(&mut self, max_log_file_size: u32)
pub fn set_max_log_file_size(&mut self, max_log_file_size: u32)
Set value of a parameter.
Sourcepub fn get_log_writer_buf_size(&self) -> &u32
pub fn get_log_writer_buf_size(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_log_writer_buf_size(&mut self, log_writer_buf_size: u32)
pub fn set_log_writer_buf_size(&mut self, log_writer_buf_size: u32)
Set value of a parameter.
Sourcepub fn get_tran_mgr_n_buckets(&self) -> &u32
pub fn get_tran_mgr_n_buckets(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_tran_mgr_n_buckets(&mut self, tran_mgr_n_buckets: u32)
pub fn set_tran_mgr_n_buckets(&mut self, tran_mgr_n_buckets: u32)
Set value of a parameter.
Sourcepub fn get_tran_mgr_n_tran(&self) -> &u32
pub fn get_tran_mgr_n_tran(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_tran_mgr_n_tran(&mut self, tran_mgr_n_tran: u32)
pub fn set_tran_mgr_n_tran(&mut self, tran_mgr_n_tran: u32)
Set value of a parameter.
Sourcepub fn get_tran_mgr_n_obj_buckets(&self) -> &u32
pub fn get_tran_mgr_n_obj_buckets(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_tran_mgr_n_obj_buckets(&mut self, tran_mgr_n_obj_buckets: u32)
pub fn set_tran_mgr_n_obj_buckets(&mut self, tran_mgr_n_obj_buckets: u32)
Set value of a parameter.
Sourcepub fn get_tran_mgr_n_obj_lock(&self) -> &u32
pub fn get_tran_mgr_n_obj_lock(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_tran_mgr_n_obj_lock(&mut self, tran_mgr_n_obj_lock: u32)
pub fn set_tran_mgr_n_obj_lock(&mut self, tran_mgr_n_obj_lock: u32)
Set value of a parameter.
Sourcepub fn get_block_mgr_n_lock(&self) -> &u32
pub fn get_block_mgr_n_lock(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_block_mgr_n_lock(&mut self, block_mgr_n_lock: u32)
pub fn set_block_mgr_n_lock(&mut self, block_mgr_n_lock: u32)
Set value of a parameter.
Sourcepub fn get_free_info_n_file_lock(&self) -> &u32
pub fn get_free_info_n_file_lock(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_free_info_n_file_lock(&mut self, free_info_n_file_lock: u32)
pub fn set_free_info_n_file_lock(&mut self, free_info_n_file_lock: u32)
Set value of a parameter.
Sourcepub fn get_free_info_n_extent_lock(&self) -> &u32
pub fn get_free_info_n_extent_lock(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_free_info_n_extent_lock(&mut self, free_info_n_extent_lock: u32)
pub fn set_free_info_n_extent_lock(&mut self, free_info_n_extent_lock: u32)
Set value of a parameter.
Sourcepub fn get_block_buf_size(&self) -> &u64
pub fn get_block_buf_size(&self) -> &u64
Get value of a parameter.
Sourcepub fn set_block_buf_size(&mut self, block_buf_size: u64)
pub fn set_block_buf_size(&mut self, block_buf_size: u64)
Set value of a parameter.
Sourcepub fn get_checkpoint_data_threshold(&self) -> &u64
pub fn get_checkpoint_data_threshold(&self) -> &u64
Get value of a parameter.
Sourcepub fn set_checkpoint_data_threshold(&mut self, checkpoint_data_threshold: u64)
pub fn set_checkpoint_data_threshold(&mut self, checkpoint_data_threshold: u64)
Set value of a parameter.
Sourcepub fn get_version_retain_time(&self) -> &u32
pub fn get_version_retain_time(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_version_retain_time(&mut self, version_retain_time: u32)
pub fn set_version_retain_time(&mut self, version_retain_time: u32)
Set value of a parameter.
Sourcepub fn get_block_fill_ratio(&self) -> &u32
pub fn get_block_fill_ratio(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_block_fill_ratio(&mut self, block_fill_ratio: u32)
pub fn set_block_fill_ratio(&mut self, block_fill_ratio: u32)
Set value of a parameter.
Sourcepub fn get_writer_num(&self) -> &u32
pub fn get_writer_num(&self) -> &u32
Get value of a parameter.
Sourcepub fn set_writer_num(&mut self, writer_num: u32)
pub fn set_writer_num(&mut self, writer_num: u32)
Set value of a parameter.