CacheTtl

value class CacheTtl(val value: String)(source)

Represents time-to-live (TTL) for cache entries.

This sealed class defines different TTL options for cache entries, each with a specific duration. The duration is represented as a string, and the class provides a serialization annotation to support interoperability with serialization formats.

Constructors

Link copied to clipboard
constructor(value: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard