Package io.permazen.kv.simple
Class XMLKVTransaction
java.lang.Object
io.permazen.kv.AbstractKVStore
io.permazen.kv.simple.SimpleKVTransaction
io.permazen.kv.simple.XMLKVTransaction
- All Implemented Interfaces:
KVStore,KVTransaction
Transaction associated with a
XMLKVDatabase.-
Method Summary
Modifier and TypeMethodDescriptionintGet the generation number associated with this instance.Methods inherited from class io.permazen.kv.simple.SimpleKVTransaction
commit, finalize, get, getAtLeast, getAtMost, getKVDatabase, getRange, isReadOnly, put, readOnlySnapshot, remove, removeRange, rollback, setReadOnly, setTimeout, watchKeyMethods inherited from class io.permazen.kv.AbstractKVStore
adjustCounter, decodeCounter, encodeCounterMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.permazen.kv.KVStore
adjustCounter, apply, decodeCounter, encodeCounter, getRange, getRange, removeRangeMethods inherited from interface io.permazen.kv.KVTransaction
withWeakConsistency
-
Method Details
-
getGeneration
public int getGeneration()Get the generation number associated with this instance.- Returns:
- the generation number on which this transaction is based
- See Also:
-