CacheEntry

internal class CacheEntry<T>(val value: T, ttl: Long)

A Cache entry with time to live, the cached data should consider invalid after expired.

Constructors

Link copied to clipboard
constructor(value: T, ttl: Long)

Properties

Link copied to clipboard
private val expiryTime: Long
Link copied to clipboard
Link copied to clipboard
val value: T