risingwave_hummock_trace

Trait ReplayStateStore

source
pub trait ReplayStateStore {
    // Required methods
    fn sync<'life0, 'async_trait>(
        &'life0 self,
        sync_table_epochs: Vec<(u64, Vec<u32>)>,
    ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn notify_hummock<'life0, 'async_trait>(
        &'life0 self,
        info: Info,
        op: RespOperation,
        version: u64,
    ) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn new_local<'life0, 'async_trait>(
        &'life0 self,
        opts: TracedNewLocalOptions,
    ) -> Pin<Box<dyn Future<Output = Box<dyn LocalReplay>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn try_wait_epoch<'life0, 'async_trait>(
        &'life0 self,
        epoch: HummockReadEpoch,
        options: TracedTryWaitEpochOptions,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn sync<'life0, 'async_trait>( &'life0 self, sync_table_epochs: Vec<(u64, Vec<u32>)>, ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn notify_hummock<'life0, 'async_trait>( &'life0 self, info: Info, op: RespOperation, version: u64, ) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn new_local<'life0, 'async_trait>( &'life0 self, opts: TracedNewLocalOptions, ) -> Pin<Box<dyn Future<Output = Box<dyn LocalReplay>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn try_wait_epoch<'life0, 'async_trait>( &'life0 self, epoch: HummockReadEpoch, options: TracedTryWaitEpochOptions, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§