pub trait GetObjectId:
    DynClone
    + Send
    + Sync {
    // Required method
    fn get_new_sst_object_id<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = HummockResult<HummockSstableObjectId>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn get_new_sst_object_id<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = HummockResult<HummockSstableObjectId>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

source§

impl GetObjectId for Arc<SstableObjectIdManager>

source§

fn get_new_sst_object_id<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = HummockResult<HummockSstableObjectId>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Returns a new SST id. The id is guaranteed to be monotonic increasing.

Implementors§