Package-level declarations

Types

Link copied to clipboard
class EncryptedStore(delegate: CacheStore, cipher: EntryCipher) : CacheStore

A CacheStore that persists no readable prompt or response, wrapped around one that would.

Link copied to clipboard
class InMemoryStore(maxEntries: Int = DEFAULT_MAX_ENTRIES, ttl: Duration? = null, clock: Clock = Clock.System, maxBytes: Long? = null, listener: CacheListener? = null, quantization: Quantization = Quantization.NONE) : CacheStore

Default CacheStore: entries in a map, search by scanning them.

Link copied to clipboard
data class InMemoryStoreStats(val size: Int, val evictions: Long, val expirations: Long, val bytes: Long = 0)

Point-in-time view of an InMemoryStore.