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) TransactionMVTable.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 TransactionTransaction.blockingTransactionBlocking transaction, if anyprivate TransactionTxDecisionMaker.blockingTransactionprivate final TransactionTransactionMap.transactionThe transaction which is used for this map.private final TransactionTxDecisionMaker.transactionTransaction we are operating withinFields in org.h2.mvstore.tx with type parameters of type TransactionModifier and TypeFieldDescriptionprivate final AtomicReferenceArray<Transaction> TransactionStore.transactionsArray 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 TransactionTxDecisionMaker.getBlockingTransaction()TransactionMap.getTransaction()(package private) TransactionTransactionStore.getTransaction(int transactionId) Get Transaction object for a transaction id.private TransactionTransactionStore.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) voidTransactionStore.commit(Transaction t, boolean recovery) Commit a transaction.(package private) voidTransactionStore.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 booleanTransaction.isDeadlocked(Transaction toWaitFor) (package private) voidTransactionStore.rollbackTo(Transaction t, long maxLogId, long toLogId) Rollback to an old savepoint.(package private) voidTransactionStore.storeTransaction(Transaction t) Store a transaction.booleanTransaction.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 booleanTransaction.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)