IGenericStoreClient

Functions

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun generateId(key: KeyT): Long
Link copied to clipboard
open operator fun get(key: KeyT): String?
Link copied to clipboard
abstract fun getAll(): Map<KeyT, String?>
open fun getAll(keys: List<KeyT>): List<String?>
abstract fun getAll(keys: Set<KeyT>): Map<KeyT, String?>
Link copied to clipboard
abstract fun listen(key: KeyT, listener: IGenericKeyListener<KeyT>)
Link copied to clipboard
open fun put(key: KeyT, value: String?, silent: Boolean = false)
Link copied to clipboard
abstract fun putAll(entries: Map<KeyT, String?>, silent: Boolean = false)
Link copied to clipboard
abstract fun removeListener(key: KeyT, listener: IGenericKeyListener<KeyT>)
Link copied to clipboard
abstract fun <T> runTransaction(body: () -> T): T