InMemoryKmpKvStoreNode

InMemoryKmpKvStoreNode provides a thread-safe, fallback, in-memory storage node

Constructors

Link copied to clipboard
constructor(name: String)

Functions

Link copied to clipboard
open suspend override fun clear(): Outcome<Unit, Exception>
Link copied to clipboard
open suspend override fun close()
Link copied to clipboard
open suspend override fun contains(key: String): Boolean
Link copied to clipboard
Link copied to clipboard
open suspend override fun dbFileSize(): Long
Link copied to clipboard
open suspend override fun getBoolean(key: String): Boolean?
Link copied to clipboard
open suspend override fun getBytes(key: String): ByteArray?
Link copied to clipboard
open suspend override fun getDouble(key: String): Double?
Link copied to clipboard
open suspend override fun getFloat(key: String): Float?
Link copied to clipboard
open suspend override fun getInt(key: String): Int?
Link copied to clipboard
open suspend override fun getLong(key: String): Long?
Link copied to clipboard
open suspend override fun <T> getSerializable(key: String, deserializer: DeserializationStrategy<T>): T?
Link copied to clipboard
open suspend override fun getString(key: String): String?
Link copied to clipboard
open suspend override fun keyCount(): Long
Link copied to clipboard
open suspend override fun keys(): Set<String>
Link copied to clipboard
open suspend override fun observeBoolean(key: String): Flow<Boolean?>
Link copied to clipboard
open suspend override fun observeBytes(key: String): Flow<ByteArray?>
Link copied to clipboard
open suspend override fun observeDouble(key: String): Flow<Double?>
Link copied to clipboard
open suspend override fun observeFloat(key: String): Flow<Float?>
Link copied to clipboard
open suspend override fun observeInt(key: String): Flow<Int?>
Link copied to clipboard
open suspend override fun observeLong(key: String): Flow<Long?>
Link copied to clipboard
open suspend override fun <T> observeSerializable(key: String, deserializer: DeserializationStrategy<T>): Flow<T?>
Link copied to clipboard
open suspend override fun observeString(key: String): Flow<String?>
Link copied to clipboard
open suspend override fun putBoolean(key: String, value: Boolean): Outcome<Unit, Exception>
Link copied to clipboard
open suspend override fun putBytes(key: String, value: ByteArray): Outcome<Unit, Exception>
Link copied to clipboard
open suspend override fun putDouble(key: String, value: Double): Outcome<Unit, Exception>
Link copied to clipboard
open suspend override fun putFloat(key: String, value: Float): Outcome<Unit, Exception>
Link copied to clipboard
open suspend override fun putInt(key: String, value: Int): Outcome<Unit, Exception>
Link copied to clipboard
open suspend override fun putLong(key: String, value: Long): Outcome<Unit, Exception>
Link copied to clipboard
open suspend override fun <T> putSerializable(key: String, value: T, serializer: SerializationStrategy<T>): Outcome<Unit, Exception>
Link copied to clipboard
open suspend override fun putString(key: String, value: String): Outcome<Unit, Exception>
Link copied to clipboard
open suspend override fun remove(key: String): Outcome<Unit, Exception>
Link copied to clipboard
open suspend override fun transaction(block: suspend (rollback: () -> Nothing) -> Unit)
Link copied to clipboard
open suspend override fun vacuum(): Outcome<Unit, Exception>