Package io.permazen.kv.simple
package io.permazen.kv.simple
A simple in-memory implementation of the
KVDatabase
interface.-
ClassDescriptionManager of read/write locks on
byte[]
key ranges that ensures isolation and serialization while allowing concurrent access by multiple threads to a single underlyingbyte[]
key/value store.Possible return values fromLockManager.lock()
.Represents the owner of aLock
managed by aLockManager
.A simple in-memory implementation of theKVDatabase
interface.Simple implementation of theKVDatabase
interface that provides a concurrent, transactional view of an underlyingAtomicKVStore
with strong ACID semantics (assuming Atomicity and Durability are provided by the underlyingAtomicKVStore
).KVTransaction
implementation forSimpleKVDatabase
.AMemoryKVDatabase
made persistent by storing its XML content in a file or customStreamRepository
.Transaction associated with aXMLKVDatabase
.