In-memory cache handler backed by an Agent. For testing and temporary caching.
Each new/0 call creates an independent cache instance.
Summary
Functions
Clear all cached values.
Create a new independent in-memory cache instance. Accepts Agent.start_link/2 options.
Stop the underlying Agent process.
Types
@type t() :: %FragmentedKeys.CacheHandler.Memory{pid: pid()}
Functions
Clear all cached values.
Create a new independent in-memory cache instance. Accepts Agent.start_link/2 options.
Stop the underlying Agent process.