IntTimedCache

class IntTimedCache(val ttl: TimeSpan, val timeProvider: TimeProvider = TimeProvider, val gen: () -> Int)

Constructors

Link copied to clipboard
constructor(ttl: TimeSpan, timeProvider: TimeProvider = TimeProvider, gen: () -> Int)

Properties

Link copied to clipboard
val gen: () -> Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var value: Int

Functions

Link copied to clipboard
inline fun get(): Int
Link copied to clipboard
operator fun getValue(obj: Any?, property: KProperty<*>): Int