put
abstract suspend fun put(key: String, payload: ByteArray, maxAgeMs: Long, tags: Set<String> = emptySet())
Stores payload under key with optional maxAgeMs TTL. 0 or negative means no explicit expiry — the entry lives until invalidated, cleared, or evicted.
tags are persisted alongside the entry and used by invalidateTag to clear groups of entries that share a logical identifier (typically resolved from @CacheQuery.tags).