pub struct Lever(_);
Expand description
Main management struct for transaction management.
Once get built it can be passed around with simple clone.
All rules of compute heavy workloads and their limitations apply to Lever’s transaction system.
Implementations§
source§impl Lever
impl Lever
sourcepub fn new_lotable<K, V>(&self) -> LOTable<K, V>where
K: 'static + PartialEq + Eq + Hash + Clone + Send + Sync + Ord,
V: 'static + Clone + Send + Sync,
pub fn new_lotable<K, V>(&self) -> LOTable<K, V>where K: 'static + PartialEq + Eq + Hash + Clone + Send + Sync + Ord, V: 'static + Clone + Send + Sync,
Builder method for transactional optimistic, repeatable read in-memory table.
sourcepub fn manager(&self) -> Arc<TxnManager>
pub fn manager(&self) -> Arc<TxnManager>
Get global transaction manager