Package-level declarations

Types

Link copied to clipboard
interface Document

Contract for a single serialized document stored as a raw String.

Link copied to clipboard
@RequiresOptIn(level = RequiresOptIn.Level.WARNING, message = "This is an experimental KVS TTL API. It may change in future releases.")
annotation class ExperimentalKvsTtl
Link copied to clipboard
Link copied to clipboard
@RequiresOptIn(level = RequiresOptIn.Level.ERROR, message = "This is an internal KVS API not intended for external use. It may change or be removed without notice.")
annotation class InternalKvsApi

Internal API — not stable for external use. Subject to change without notice.

Link copied to clipboard

Core key-value storage interface.

Link copied to clipboard
abstract class KvsException(message: String, cause: Throwable? = null) : Throwable
Link copied to clipboard

Extended key-value storage interface with Time-To-Live (TTL) support.

Link copied to clipboard
class ReadKvsException(message: String, cause: Throwable? = null) : KvsException
Link copied to clipboard
object Storage

Entry point for all Key-Value Storage instances.

Link copied to clipboard
class WriteKvsException(message: String, cause: Throwable? = null) : KvsException

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun Kvs.getFloatAsResult(key: String, defValue: Float): Result<Float>
Link copied to clipboard
suspend fun Kvs.getIntAsResult(key: String, defValue: Int): Result<Int>
Link copied to clipboard
suspend fun Kvs.getLongAsResult(key: String, defValue: Long): Result<Long>
Link copied to clipboard