Configuration
Configuration for InMemoryKache. It is used as a receiver of InMemoryKache builder
Properties
The coroutine scope used for executing creationFunction of put requests.
The duration after which the elements are removed after they are accessed. See Duration
The duration after which the elements are removed after they are written. See Duration
The max size of this cache. For more information. See InMemoryKache.maxSize.
listener called when an entry is removed for any reason. See EntryRemovedListener
function used for calculating the size of the elements. See SizeCalculator
The strategy used for evicting elements. See KacheStrategy
The time source used for calculating the time marks of the elements. Only used if the expireAfterWriteDuration or expireAfterAccessDuration is set. See TimeSource