IKmpKvStoreNode

interface IKmpKvStoreNode

Inheritors

Functions

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