pub struct ConcurrentMemoryRepository { /* private fields */ }
Expand description
Thread-safe in-memory repository with concurrent access optimization
Implementations§
Source§impl ConcurrentMemoryRepository
impl ConcurrentMemoryRepository
pub fn new() -> Self
pub fn repository(&self) -> &InMemoryStreamRepository
pub fn store(&self) -> &InMemoryStreamStore
Sourcepub fn statistics(&self) -> RepositoryStatistics
pub fn statistics(&self) -> RepositoryStatistics
Get comprehensive statistics
Trait Implementations§
Source§impl Clone for ConcurrentMemoryRepository
impl Clone for ConcurrentMemoryRepository
Source§fn clone(&self) -> ConcurrentMemoryRepository
fn clone(&self) -> ConcurrentMemoryRepository
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 moreSource§impl Debug for ConcurrentMemoryRepository
impl Debug for ConcurrentMemoryRepository
Auto Trait Implementations§
impl Freeze for ConcurrentMemoryRepository
impl !RefUnwindSafe for ConcurrentMemoryRepository
impl Send for ConcurrentMemoryRepository
impl Sync for ConcurrentMemoryRepository
impl Unpin for ConcurrentMemoryRepository
impl !UnwindSafe for ConcurrentMemoryRepository
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