Expand description
Cache lock
Structs§
- Cache
Lock - The global cache locking manager
- Lock
Core - Lock
Stub - Read
Lock - ReadLock: the requests who get it need to wait until it is released
- Unusable
Fill - One fill a reader cannot use, and why. Per token rather than per set, because a
key has one
UnusableFillsand a set-wide reason would attribute one part of an application’s give-up to another’s cause. - Unusable
Fills - The fills a reader cannot use. Put one in a
crate::CacheKey’s extensions andcrate::HttpCache::cache_lock_waithonours it. Empty waits as normal. - Write
Permit - WritePermit: requires who get it need to populate the cache and then release it
Enums§
- Lock
Status - Status which the read locks could possibly see.
- Lock
Wait Outcome - What happened to this reader’s cache-lock wait, and so what to do next.
- Locked
- A struct representing locked cache access
- Wait
Outcome - How a wait behind a writer ended.