Uses of Interface
io.permazen.kv.KVTransaction
Package
Description
Abstraction layer allowing access to a
Database
using normal Java objects.Components that support integrating Permazen into a Java Console Toolkit console.
Core classes for the Permazen Java persistence layer.
byte[]
array key/value store API and related utility classes.A simple
KVStore
implementation based on a sorted array of key/value pairs.KVDatabase
implementation based on Oracle's Berkeley DB Java Edition.Caching
KVStore
and KVDatabase
layers.KVDatabase
implementation based on FoundationDB.KVDatabase
implementation based on LevelDB.KVDatabase
implementation based on LMDB.Utility classes for MVCC type operations using a
KVStore
.AtomicKVStore
and KVDatabase
implementations based
on H2 MVStore.A distributed
KVDatabase
based on the Raft consensus algorithm.A partition-tolerant
KVDatabase
that automatically migrates between a clustered
RaftKVDatabase
and a private non-clustered "standalone mode"
KVDatabase
, based on availability of the Raft cluster.A simple in-memory implementation of the
KVDatabase
interface.KVDatabase
implementation based on Google Cloud Spanner.KVDatabase
implementations based on SQL connections.Permazen key/value unit test support classes.
Utility classes relating to the
KVDatabase
interface.KVDatabase
implementation based on Xodus.-
Uses of KVTransaction in io.permazen
Modifier and TypeMethodDescriptionPermazen.createTransaction
(KVTransaction kvt, ValidationMode validationMode) Create a newPermazenTransaction
using an already-openedKVTransaction
. -
Uses of KVTransaction in io.permazen.cli
Modifier and TypeMethodDescriptionSession.getKVTransaction()
Get theKVTransaction
currently associated with this instance.Session.TxInfo.getKVTransaction()
Get the associatedKVTransaction
. -
Uses of KVTransaction in io.permazen.core
Modifier and TypeMethodDescriptionTransaction.getKVTransaction()
Get the underlying key/value store transaction.Modifier and TypeMethodDescriptionDatabase.createTransaction
(KVTransaction kvt, TransactionConfig txConfig) Create a newTransaction
on this database using an already-openedKVTransaction
and specified configuration. -
Uses of KVTransaction in io.permazen.kv
Modifier and TypeMethodDescriptionKVDatabase.createTransaction()
Create a new transaction.KVDatabase.createTransaction
(Map<String, ?> options) Create a new transaction with the specified options.KVTransactionException.getTransaction()
Get theKVTransaction
that generated this exception.ModifierConstructorDescriptionKVTransactionException
(KVTransaction kvt, String message) KVTransactionException
(KVTransaction kvt, String message, Throwable cause) KVTransactionException
(KVTransaction kvt, Throwable cause) KVTransactionTimeoutException
(KVTransaction kvt, String message) KVTransactionTimeoutException
(KVTransaction kvt, String message, Throwable cause) KVTransactionTimeoutException
(KVTransaction kvt, Throwable cause) RetryKVTransactionException
(KVTransaction kvt, String message) RetryKVTransactionException
(KVTransaction kvt, String message, Throwable cause) RetryKVTransactionException
(KVTransaction kvt, Throwable cause) StaleKVTransactionException
(KVTransaction kvt, String message) StaleKVTransactionException
(KVTransaction kvt, String message, Throwable cause) StaleKVTransactionException
(KVTransaction kvt, Throwable cause) -
Uses of KVTransaction in io.permazen.kv.array
-
Uses of KVTransaction in io.permazen.kv.bdb
Modifier and TypeClassDescriptionclass
Oracle Berkeley DB Java EditionKVTransaction
implementation. -
Uses of KVTransaction in io.permazen.kv.caching
Modifier and TypeFieldDescriptionprotected final KVTransaction
CachingKVTransaction.inner
The underlying transaction.Modifier and TypeMethodDescriptionCachingKVTransaction.getInnerTransaction()
Get the underlyingKVTransaction
.Modifier and TypeMethodDescriptionprotected CachingKVTransaction
CachingKVDatabase.createTransaction
(Supplier<? extends KVTransaction> innerTxCreator) -
Uses of KVTransaction in io.permazen.kv.fdb
-
Uses of KVTransaction in io.permazen.kv.leveldb
-
Uses of KVTransaction in io.permazen.kv.lmdb
Modifier and TypeClassDescriptionclass
LMDBKVTransaction
usingbyte[]
arrays buffers.class
LMDB transaction viewed as aKVTransaction
. -
Uses of KVTransaction in io.permazen.kv.mvcc
Modifier and TypeClassDescriptionclass
AKVTransaction
that is based on a snapshot from an originalKVTransaction
and that can, at some arbitrary later time, be merged back into a newKVTransaction
from the same database, assuming no conflicting changes have occurred in the meantime.class
SnapshotKVDatabase
transaction.ModifierConstructorDescriptionTransactionConflictException
(KVTransaction kvt, Conflict conflict) TransactionConflictException
(KVTransaction kvt, Conflict conflict, String message) -
Uses of KVTransaction in io.permazen.kv.mvstore
-
Uses of KVTransaction in io.permazen.kv.raft
-
Uses of KVTransaction in io.permazen.kv.raft.fallback
Modifier and TypeMethodDescriptionFallbackKVTransaction.getKVTransaction()
Get the underlying transaction, which will be associated with either one of the fallback databases, or the standalone mode database.Modifier and TypeMethodDescriptionvoid
MergeStrategy.mergeAndCommit
(KVTransaction src, KVTransaction dst, Date lastActiveTime) Merge data from the source database being migrated away from into the destination database being migrated to.void
NullMergeStrategy.mergeAndCommit
(KVTransaction src, KVTransaction dst, Date lastActiveTime) void
OverwriteMergeStrategy.mergeAndCommit
(KVTransaction src, KVTransaction dst, Date lastActiveTime) protected void
OverwriteMergeStrategy.overwrite
(KVTransaction src, KVTransaction dst) Overwrite one key/value database with another. -
Uses of KVTransaction in io.permazen.kv.simple
Modifier and TypeClassDescriptionclass
KVTransaction
implementation forSimpleKVDatabase
.class
Transaction associated with aXMLKVDatabase
. -
Uses of KVTransaction in io.permazen.kv.spanner
-
Uses of KVTransaction in io.permazen.kv.sql
-
Uses of KVTransaction in io.permazen.kv.test
Modifier and TypeMethodDescriptionprotected KVTransaction
KVTestSupport.createKVTransaction
(KVDatabase kvdb) protected KVTransaction
KVTestSupport.doCreateTransaction
(KVDatabase kvdb) Modifier and TypeMethodDescriptionprotected void
KVTestSupport.tryNtimes
(KVDatabase kvdb, Consumer<KVTransaction> consumer) protected <R> R
KVTestSupport.tryNtimesWithResult
(KVDatabase kvdb, Function<KVTransaction, R> function) ModifierConstructorDescriptionReader
(KVTransaction tx, byte[] key) Reader
(KVTransaction tx, byte[] key, boolean range) Writer
(KVTransaction tx, byte[] key, byte[] value) -
Uses of KVTransaction in io.permazen.kv.util
Modifier and TypeClassDescriptionclass
ModifierConstructorDescriptionPrefixKVTransaction
(KVTransaction tx, byte[] keyPrefix) Constructor that wraps an existingKVTransaction
. -
Uses of KVTransaction in io.permazen.kv.xodus