pub trait OnDemandOpenDeltaDbInnerTrait: Send + Sync {
    // Required methods
    fn open(&mut self, mpt_id: u16) -> Result<ArcDeltaDbWrapper>;
    fn create(
        &mut self,
        snapshot_epoch_id: &EpochId,
        mpt_id: u16,
        opened_db: Option<Arc<dyn DeltaDbTrait + Send + Sync>>
    ) -> Result<ArcDeltaDbWrapper>;
    fn release(&mut self, mpt_id: u16, destroy: bool);
}

Required Methods§

source

fn open(&mut self, mpt_id: u16) -> Result<ArcDeltaDbWrapper>

source

fn create( &mut self, snapshot_epoch_id: &EpochId, mpt_id: u16, opened_db: Option<Arc<dyn DeltaDbTrait + Send + Sync>> ) -> Result<ArcDeltaDbWrapper>

source

fn release(&mut self, mpt_id: u16, destroy: bool)

Implementors§