Package io.permazen.kv.lmdb
Class ByteArrayLMDBKVTransaction
java.lang.Object
io.permazen.kv.util.ForwardingKVStore
io.permazen.kv.lmdb.LMDBKVTransaction<byte[]>
io.permazen.kv.lmdb.ByteArrayLMDBKVTransaction
- All Implemented Interfaces:
KVStore
,KVTransaction
LMDBKVTransaction
using byte[]
arrays buffers.-
Constructor Summary
ModifierConstructorDescriptionprotected
ByteArrayLMDBKVTransaction
(LMDBKVDatabase<byte[]> kvdb, org.lmdbjava.Env<byte[]> env, org.lmdbjava.Dbi<byte[]> db) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected ByteArrayLMDBKVStore
createKVStore
(org.lmdbjava.Dbi<byte[]> db, org.lmdbjava.Txn<byte[]> tx) Methods inherited from class io.permazen.kv.lmdb.LMDBKVTransaction
commit, delegate, getKVDatabase, isReadOnly, readOnlySnapshot, rollback, setReadOnly, setTimeout, watchKey
Methods inherited from class io.permazen.kv.util.ForwardingKVStore
adjustCounter, apply, decodeCounter, encodeCounter, get, getAtLeast, getAtMost, getRange, put, remove, removeRange
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.permazen.kv.KVStore
adjustCounter, apply, decodeCounter, encodeCounter, get, getAtLeast, getAtMost, getRange, getRange, getRange, put, remove, removeRange, removeRange
Methods inherited from interface io.permazen.kv.KVTransaction
withWeakConsistency
-
Constructor Details
-
ByteArrayLMDBKVTransaction
protected ByteArrayLMDBKVTransaction(LMDBKVDatabase<byte[]> kvdb, org.lmdbjava.Env<byte[]> env, org.lmdbjava.Dbi<byte[]> db) Constructor.- Parameters:
kvdb
- associated databaseenv
- environmentdb
- database handle
-
-
Method Details
-
createKVStore
protected ByteArrayLMDBKVStore createKVStore(org.lmdbjava.Dbi<byte[]> db, org.lmdbjava.Txn<byte[]> tx) - Specified by:
createKVStore
in classLMDBKVTransaction<byte[]>
-