pub struct FileCacheMgr { /* private fields */ }Expand description
An implementation of BlobCacheMgr to improve performance by caching uncompressed blob with local storage.
Implementations§
Source§impl FileCacheMgr
impl FileCacheMgr
Sourcepub fn new(
config: &CacheConfigV2,
backend: Arc<dyn BlobBackend>,
runtime: Arc<Runtime>,
id: &str,
user_io_batch_size: u32,
) -> Result<FileCacheMgr>
pub fn new( config: &CacheConfigV2, backend: Arc<dyn BlobBackend>, runtime: Arc<Runtime>, id: &str, user_io_batch_size: u32, ) -> Result<FileCacheMgr>
Create a new instance of FileCacheMgr.
Trait Implementations§
Source§impl Clone for FileCacheMgr
impl Clone for FileCacheMgr
Source§fn clone(&self) -> FileCacheMgr
fn clone(&self) -> FileCacheMgr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileCacheMgr
impl !RefUnwindSafe for FileCacheMgr
impl Send for FileCacheMgr
impl Sync for FileCacheMgr
impl Unpin for FileCacheMgr
impl UnsafeUnpin for FileCacheMgr
impl !UnwindSafe for FileCacheMgr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more