Status | |
---|---|
Stability | stable |
Component Type | library |
This library implements key/value stores backed by different persistence mechanisms.
Description | In memory | No external dependencies | Class |
---|---|---|---|
JPA-backed key value store | EntityManagerKeyValueStore | ||
A key-value store backed by Infinispan | InfinispanKeyValueStore | ||
A key-value store backed by LevelDB | X | LevelDBKeyValueStore | |
A key-value store backed by a MapDB instance | X | X | MapDBKeyValueStore |
A key-value store backed by an in-memory Map | X | X | MapKeyValueStore |
A store used as a proxy for another store | ProxyKeyValueStore | ||
A key-value store backed by Redis | RedisKeyValueStore | ||
A key-value store backed by RocksDB | X | RocksDBKeyValueStore | |
A key-value store backed by a relational database. | SQLKeyValueStore |
The stores all implement KeyValueStore so they can be used interchangeably in applications.
The interface offers both coroutine-friendly methods (getAsync
, putAsync
) and asynchronous methods returning AsyncResult
or AsyncCompletion
objects.