Uses of Class
org.h2.mvstore.tx.Transaction
Packages that use Transaction
Package
Description
Contains high level classes of the database and classes that don't fit in another sub-package.
Helper classes to use the MVStore in the H2 database.
Helper classes to use the MVStore in a transactional manner.
-
Uses of Transaction in org.h2.engine
Fields in org.h2.engine declared as TransactionMethods in org.h2.engine that return TransactionModifier and TypeMethodDescriptionSessionLocal.getTransaction()
Get the transaction to use for this session. -
Uses of Transaction in org.h2.mvstore.db
Fields in org.h2.mvstore.db declared as TransactionMethods in org.h2.mvstore.db that return TransactionModifier and TypeMethodDescription(package private) Transaction
MVTable.getTransactionBegin()
Get a new transaction.Constructors in org.h2.mvstore.db with parameters of type TransactionModifierConstructorDescription(package private)
MVInDoubtTransaction
(MVStore store, Transaction transaction) -
Uses of Transaction in org.h2.mvstore.tx
Fields in org.h2.mvstore.tx declared as TransactionModifier and TypeFieldDescriptionprivate Transaction
Transaction.blockingTransaction
Blocking transaction, if anyprivate Transaction
TxDecisionMaker.blockingTransaction
private final Transaction
TransactionMap.transaction
The transaction which is used for this map.private final Transaction
TxDecisionMaker.transaction
Transaction we are operating withinFields in org.h2.mvstore.tx with type parameters of type TransactionModifier and TypeFieldDescriptionprivate final AtomicReferenceArray
<Transaction> TransactionStore.transactions
Array holding all open transaction objects.Methods in org.h2.mvstore.tx that return TransactionModifier and TypeMethodDescriptionTransactionStore.begin()
Begin a new transaction.TransactionStore.begin
(TransactionStore.RollbackListener listener, int timeoutMillis, int ownerId, IsolationLevel isolationLevel) Begin a new transaction.(package private) final Transaction
TxDecisionMaker.getBlockingTransaction()
TransactionMap.getTransaction()
(package private) Transaction
TransactionStore.getTransaction
(int transactionId) Get Transaction object for a transaction id.private Transaction
TransactionStore.registerTransaction
(int txId, int status, String name, long logId, int timeoutMillis, int ownerId, IsolationLevel isolationLevel, TransactionStore.RollbackListener listener) Methods in org.h2.mvstore.tx that return types with arguments of type TransactionModifier and TypeMethodDescriptionTransactionStore.getOpenTransactions()
Get the list of unclosed transactions that have pending writes.Methods in org.h2.mvstore.tx with parameters of type TransactionModifier and TypeMethodDescription(package private) void
TransactionStore.commit
(Transaction t, boolean recovery) Commit a transaction.(package private) void
TransactionStore.endTransaction
(Transaction t, boolean hasChanges) End this transaction.(package private) Iterator
<TransactionStore.Change> TransactionStore.getChanges
(Transaction t, long maxLogId, long toLogId) Get the changes of the given transaction, starting from the latest log id back to the given log id.TransactionMap.getInstance
(Transaction transaction) Get a clone of this map for the given transaction.private boolean
Transaction.isDeadlocked
(Transaction toWaitFor) (package private) void
TransactionStore.rollbackTo
(Transaction t, long maxLogId, long toLogId) Rollback to an old savepoint.(package private) void
TransactionStore.storeTransaction
(Transaction t) Store a transaction.boolean
Transaction.waitFor
(Transaction toWaitFor, String mapName, Object key) Make this transaction to wait for the specified transaction to be closed, because both of them try to modify the same map entry.private boolean
Transaction.waitForThisToEnd
(int millis, Transaction waiter) Constructors in org.h2.mvstore.tx with parameters of type TransactionModifierConstructorDescription(package private)
LockDecisionMaker
(int mapId, Transaction transaction) (package private)
PutIfAbsentDecisionMaker
(int mapId, Transaction transaction, Function<K, V> oldValueSupplier) (package private)
RepeatableReadLockDecisionMaker
(int mapId, Transaction transaction, DataType<VersionedValue<V>> valueType, Function<K, V> snapshotValueSupplier) (package private)
TransactionMap
(Transaction transaction, MVMap<K, VersionedValue<V>> map) (package private)
TxDecisionMaker
(int mapId, Transaction transaction)