InMemoryKache
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.
If maxSize is set inside configuration, it will override the value passed as parameter.