Struct rocksdb::SingleThreaded
source · pub struct SingleThreaded { /* private fields */ }
Expand description
Actual marker type for the marker trait ThreadMode
, which holds
a collection of column families without synchronization primitive, providing
no overhead for the single-threaded column family alternations. The other
mode is MultiThreaded
.
See DB
for more details, including performance implications for each mode
Trait Implementations§
source§impl ThreadMode for SingleThreaded
impl ThreadMode for SingleThreaded
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