korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-time
/
korlibs.time
/
IntTimedCache
Int
Timed
Cache
class
IntTimedCache
(
val
ttl
:
Duration
,
val
timeProvider
:
TimeProvider
=
TimeProvider
,
val
gen
:
(
)
->
Int
)
Members
Constructors
Int
Timed
Cache
Link copied to clipboard
constructor
(
ttl
:
Duration
,
timeProvider
:
TimeProvider
=
TimeProvider
,
gen
:
(
)
->
Int
)
Properties
gen
Link copied to clipboard
val
gen
:
(
)
->
Int
time
Provider
Link copied to clipboard
val
timeProvider
:
TimeProvider
ttl
Link copied to clipboard
val
ttl
:
Duration
value
Link copied to clipboard
var
value
:
Int
Functions
get
Link copied to clipboard
inline
fun
get
(
)
:
Int
get
Value
Link copied to clipboard
operator
fun
getValue
(
obj
:
Any
?
,
property
:
KProperty
<
*
>
)
:
Int