Struct rocksdb::MultiThreaded
source · pub struct MultiThreaded { /* private fields */ }Expand description
Actual marker type for the marker trait ThreadMode, which holds
a collection of column families wrapped in a RwLock to be mutated
concurrently. The other mode is SingleThreaded.
See DB for more details, including performance implications for each mode
Trait Implementations§
source§impl ThreadMode for MultiThreaded
impl ThreadMode for MultiThreaded
source§fn new_cf_map_internal(
cfs: BTreeMap<String, *mut rocksdb_column_family_handle_t>
) -> Self
fn new_cf_map_internal(
cfs: BTreeMap<String, *mut rocksdb_column_family_handle_t>
) -> Self
Internal implementation for storing column family handles
source§fn drop_all_cfs_internal(&mut self)
fn drop_all_cfs_internal(&mut self)
Internal implementation for dropping column family handles