pub struct DBBuilder<P: AsRef<Path>> {
pub free_batch_size: Option<usize>,
/* private fields */
}Expand description
Builder of a DB.
Fields§
§free_batch_size: Option<usize>Implementations§
Source§impl<P: AsRef<Path>> DBBuilder<P>
impl<P: AsRef<Path>> DBBuilder<P>
Sourcepub fn free_batch_size(self, val: usize) -> Self
pub fn free_batch_size(self, val: usize) -> Self
Sets the number of free pages before reclamation can be attempted. The default is 32, though this can change in the future.
Sourcepub fn min_file_growth_size(self, val: usize) -> Self
pub fn min_file_growth_size(self, val: usize) -> Self
Sets the minimum file growth size. The default is 64MB in release, though this can change in the future.