Package-level declarations
Types
A cache policy that optionally enforces a max size and temporal policy.
Abstraction for serialization Implementing classes should be created in their own modules so that consumers may compose their preferred implementations
Builder for a thread safe Cache that internally manages a MemoryCache. The cache will periodically persist its data to a SnapshotPersistentCache and will enforce the given CachePolicy. Once the Cache is no longer in use its coroutineScope should be cancelled.
Provides callbacks to trigger when the system enters a particular memory level.
Responsible for monitoring the system's memory level and executing the corresponding callback on memoryLevelCallbacks as the memory level changes.
Builder for a SnapshotPersistentCache that persists data to a file.
A persistent cache that saves data by taking a snapshot of the data in the cache at a point in time. All data is read out of the persistent cache at once.