Storage

interface Storage

Storage (in most cases persistent) that holds data items. Collection of items are organized in named StorageTables.

Inheritors

Functions

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

Get the table with specific name and features.

Link copied to clipboard
abstract suspend 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).