LruStateCache

constructor(capacity: Int = Int.MAX_VALUE, maxBytes: Long = Long.MAX_VALUE, weigh: (CachedState) -> Long = CachedState::bytes, evicted: () -> Unit = {})