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.


impl ConcurrentCache

Create a new concurrent cache tracker.

Lock the inner cache.

Insert a new cache block.

Remove a cache block.

Touch a cache block.