Package-level declarations
Types
Link copied to clipboard
An interface that represents a cache that holds entries within containers such as files.
Link copied to clipboard
Link copied to clipboard
An in-memory coroutine-safe versatile cache that stores objects by keys.
Link copied to clipboard
Specifies the strategy to use when the cache has reached its capacity. The most common strategy is LRU (Least Recently Used).
Link copied to clipboard
An interface that represents a cache that holds entries in memory without serialization.
Link copied to clipboard
Functions
Link copied to clipboard
fun <K : Any, V : Any> InMemoryKache(maxSize: Long, configuration: InMemoryKache.Configuration<K, V>.() -> Unit = {}): InMemoryKache<K, V>
Creates a new instance of InMemoryKache with the given maxSize and configuration.