expiryTimeBased

fun expiryTimeBased(afterWrite: <Error class: unknown class>? = null, afterAccess: <Error class: unknown class>? = null)
fun expiryTimeBased(afterWrite: (key: K, value: V, currentTime: Instant) -> <Error class: unknown class>, afterRead: (key: K, value: V, currentTime: Instant, <Error class: unknown class>) -> <Error class: unknown class>)