withTtlMinutes

fun <T> withTtlMinutes(value: T, ttlMinutes: Long): CacheEntry<T>

Creates an entry with a TTL specified in minutes.