interface KeyValueStore : Closeable
(source)
A key-value store.
abstract suspend fun get(key: Bytes): Bytes?
Retrieves data from the store. |
|
open fun getAsync(key: Bytes): AsyncResult<Bytes?> open fun getAsync(dispatcher: CoroutineDispatcher, key: Bytes): AsyncResult<Bytes?>
Retrieves data from the store. |
|
abstract suspend fun put(key: Bytes, value: Bytes): Unit
Puts data into the store. |
|
open fun putAsync(key: Bytes, value: Bytes): AsyncCompletion open fun putAsync(dispatcher: CoroutineDispatcher, key: Bytes, value: Bytes): AsyncCompletion
Puts data into the store. |
class InfinispanKeyValueStore : KeyValueStore
A key-value store backed by Infinispan |
|
class LevelDBKeyValueStore : KeyValueStore
A key-value store backed by LevelDB. |
|
class MapDBKeyValueStore : KeyValueStore
A key-value store backed by a MapDB instance. |
|
class MapKeyValueStore : KeyValueStore
A key-value store backed by an in-memory Map. |
|
class RedisKeyValueStore : KeyValueStore
A key-value store backed by Redis. |
|
class RocksDBKeyValueStore : KeyValueStore
A key-value store backed by RocksDB. |
|
class SQLKeyValueStore : KeyValueStore
A key-value store backed by a relational database. |