Struct mlcr::ConcurrentCache [] [src]

pub struct ConcurrentCache { /* fields omitted */ }

A concurrent cache tracker.

This has two parts to it:

  • A normal cache tracker, protected by a lock.
  • A queue of cache operations that will be executed when the lock is acquired.

Methods

impl ConcurrentCache
[src]

Create a new concurrent cache tracker.

Lock the inner cache.

Insert a new cache block.

Remove a cache block.

Touch a cache block.