EphemeralStorage

class EphemeralStorage(val clock: Clock = Clock.System) : BaseStorage

Constructors

Link copied to clipboard
constructor(clock: Clock = Clock.System)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val clock: Clock

Functions

Link copied to clipboard
open suspend override fun getTable(spec: StorageTableSpec): StorageTable

Get the table with specific name and features.

Link copied to clipboard
open suspend override fun purgeExpired()

Reclaim the storage occupied by expired entries across all tables in this Storage object (even if these tables were never accessed using getTable in this session).

Link copied to clipboard
suspend fun serialize(): ByteString