Uses of Class
org.infinispan.transaction.impl.LocalTransaction
Package
Description
Contexts contain information of a specific invocation on the cache, such as its origins, scope
(transactional or non-transactional), as well as invocation-specific flags.
This package contains different context implementations, selected dynamically based on the type of invocation.
XA transaction support.
-
Uses of LocalTransaction in org.infinispan.context
Modifier and TypeMethodDescriptionInvocationContextFactory.createTxInvocationContext
(LocalTransaction localTransaction) Returns aLocalTxInvocationContext
. -
Uses of LocalTransaction in org.infinispan.context.impl
Modifier and TypeMethodDescriptionNonTransactionalInvocationContextFactory.createTxInvocationContext
(LocalTransaction localTransaction) TransactionalInvocationContextFactory.createTxInvocationContext
(LocalTransaction localTransaction) -
Uses of LocalTransaction in org.infinispan.transaction.impl
Modifier and TypeMethodDescriptionTransactionTable.getLocalTransaction
(jakarta.transaction.Transaction tx) TransactionTable.getLocalTransaction
(GlobalTransaction txId) Looks up a LocalTransaction given a GlobalTransaction.TransactionTable.getOrCreateLocalTransaction
(jakarta.transaction.Transaction transaction, boolean implicitTransaction) Returns theTransactionXaAdapter
corresponding to the supplied transaction.TransactionTable.getOrCreateLocalTransaction
(jakarta.transaction.Transaction transaction, boolean implicitTransaction, Supplier<GlobalTransaction> gtxFactory) Similar toTransactionTable.getOrCreateLocalTransaction(Transaction, boolean)
but with a custom global transaction factory.Modifier and TypeMethodDescriptionTransactionTable.afterCompletion
(LocalTransaction localTransaction, int status) TransactionTable.beforeCompletion
(LocalTransaction localTransaction) TransactionCoordinator.commit
(LocalTransaction localTransaction, boolean isOnePhase) void
TransactionTable.enlist
(jakarta.transaction.Transaction transaction, LocalTransaction localTransaction) void
TransactionTable.enlistClientTransaction
(jakarta.transaction.Transaction transaction, LocalTransaction localTransaction) boolean
TransactionCoordinator.is1PcForAutoCommitTransaction
(LocalTransaction localTransaction) void
TransactionTable.localTransactionPrepared
(LocalTransaction localTransaction) final CompletionStage
<Integer> TransactionCoordinator.prepare
(LocalTransaction localTransaction) final CompletionStage
<Integer> TransactionCoordinator.prepare
(LocalTransaction localTransaction, boolean replayEntryWrapping) protected final void
TransactionTable.releaseLocksForCompletedTransaction
(LocalTransaction localTransaction, boolean committedInOnePhase) boolean
TransactionTable.removeLocalTransaction
(LocalTransaction localTransaction) Removes theTransactionXaAdapter
corresponding to the given tx.TransactionCoordinator.rollback
(LocalTransaction localTransaction) -
Uses of LocalTransaction in org.infinispan.transaction.synchronization
Modifier and TypeClassDescriptionclass
LocalTransaction
implementation to be used withSynchronizationAdapter
.ModifierConstructorDescriptionSynchronizationAdapter
(LocalTransaction localTransaction, TransactionTable txTable) -
Uses of LocalTransaction in org.infinispan.transaction.xa
Modifier and TypeClassDescriptionclass
LocalTransaction
implementation to be used withTransactionXaAdapter
.Modifier and TypeMethodDescriptionTransactionFactory.newLocalTransaction
(jakarta.transaction.Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId) abstract LocalTransaction
TransactionFactory.TxFactoryEnum.newLocalTransaction
(jakarta.transaction.Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId, long txCreationTime) Modifier and TypeMethodDescriptionvoid
XaTransactionTable.enlist
(jakarta.transaction.Transaction transaction, LocalTransaction ltx) void
XaTransactionTable.enlistClientTransaction
(jakarta.transaction.Transaction transaction, LocalTransaction localTransaction) boolean
XaTransactionTable.removeLocalTransaction
(LocalTransaction localTx) -
Uses of LocalTransaction in org.infinispan.transaction.xa.recovery
Modifier and TypeClassDescriptionclass
ExtendsLocalXaTransaction
and adds recovery related information.Modifier and TypeMethodDescriptionvoid
RecoveryAwareTransactionTable.localTransactionPrepared
(LocalTransaction localTransaction)