Module mz_persist_client::cache
source ยท Expand description
A cache of PersistClients indexed by PersistLocations.
Structsยง
- Locking
Typed ๐State A locked decorator for TypedState that abstracts out the specific lock implementation used. Guards the private lock with public accessor fns to make locking scopes more explicit and simpler to reason about. - A cache of PersistClients indexed by PersistLocations.
- RttLatency
Task ๐ - A cache of
TypedState
, shared between all machines for that shard.
Enumsยง
- State
Cache ๐Init
Traitsยง
- DynState ๐
Functionsยง
- Starts a task to periodically measure the persist-observed latency to consensus.
- Starts a task to periodically measure the persist-observed latency to consensus.