toggle menu
io.github.goquati
1.3.1
jvm
switch theme
search in API
io.github.goquati
/
io.github.goquati.kotlin.util.cache
/
Cache
/
Builder
/
expiryTimeBased
expiry
Time
Based
jvm
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>
)