Struct persist::indexed::cache::BlobCacheInner [−][src]
struct BlobCacheInner {
unsealed: Arc<Mutex<BlobCacheCore<BlobUnsealedBatch>>>,
trace: Arc<Mutex<BlobCacheCore<BlobTraceBatch>>>,
}
Expand description
Internal, in-memory cache for objects in Blob storage that back an arrangement.
Fields
unsealed: Arc<Mutex<BlobCacheCore<BlobUnsealedBatch>>>
trace: Arc<Mutex<BlobCacheCore<BlobTraceBatch>>>
Implementations
fn maybe_add_unsealed(
&self,
key: String,
size: usize,
data: Arc<BlobUnsealedBatch>
) -> Result<(), Error>
fn maybe_add_trace(
&self,
key: String,
size: usize,
data: Arc<BlobTraceBatch>
) -> Result<(), Error>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlobCacheInner
impl Send for BlobCacheInner
impl Sync for BlobCacheInner
impl Unpin for BlobCacheInner
impl UnwindSafe for BlobCacheInner
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more