toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.time
/
IntTimedCache
Int
Timed
Cache
class
IntTimedCache
(
val
ttl
:
TimeSpan
,
val
timeProvider
:
TimeProvider
=
TimeProvider
,
val
gen
:
(
)
->
Int
)
Members
Constructors
Int
Timed
Cache
Link copied to clipboard
constructor
(
ttl
:
TimeSpan
,
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
:
TimeSpan
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