Module cache

Source
Expand description

A cache of PersistClients indexed by PersistLocations.

Structsยง

LockingTypedState ๐Ÿ”’
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.
PersistClientCache
A cache of PersistClients indexed by PersistLocations.
RttLatencyTask ๐Ÿ”’
StateCache
A cache of TypedState, shared between all machines for that shard.

Enumsยง

StateCacheInit ๐Ÿ”’

Traitsยง

DynState ๐Ÿ”’

Functionsยง

blob_rtt_latency_task ๐Ÿ”’
Starts a task to periodically measure the persist-observed latency to consensus.
consensus_rtt_latency_task ๐Ÿ”’
Starts a task to periodically measure the persist-observed latency to consensus.