Uses of Class
org.infinispan.transaction.impl.LocalTransaction
Packages that use 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
Methods in org.infinispan.context with parameters of type LocalTransactionModifier and TypeMethodDescriptionInvocationContextFactory.createTxInvocationContext
(LocalTransaction localTransaction) Returns aLocalTxInvocationContext
. -
Uses of LocalTransaction in org.infinispan.context.impl
Methods in org.infinispan.context.impl with parameters of type LocalTransactionModifier and TypeMethodDescriptionNonTransactionalInvocationContextFactory.createTxInvocationContext
(LocalTransaction localTransaction) TransactionalInvocationContextFactory.createTxInvocationContext
(LocalTransaction localTransaction) Constructors in org.infinispan.context.impl with parameters of type LocalTransaction -
Uses of LocalTransaction in org.infinispan.transaction.impl
Methods in org.infinispan.transaction.impl that return LocalTransactionModifier 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.Methods in org.infinispan.transaction.impl that return types with arguments of type LocalTransactionMethods in org.infinispan.transaction.impl with parameters of type LocalTransactionModifier 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
Subclasses of LocalTransaction in org.infinispan.transaction.synchronizationModifier and TypeClassDescriptionclass
LocalTransaction
implementation to be used withSynchronizationAdapter
.Constructors in org.infinispan.transaction.synchronization with parameters of type LocalTransactionModifierConstructorDescriptionSynchronizationAdapter
(LocalTransaction localTransaction, TransactionTable txTable) -
Uses of LocalTransaction in org.infinispan.transaction.xa
Subclasses of LocalTransaction in org.infinispan.transaction.xaModifier and TypeClassDescriptionclass
LocalTransaction
implementation to be used withTransactionXaAdapter
.Methods in org.infinispan.transaction.xa that return LocalTransactionModifier 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) Methods in org.infinispan.transaction.xa with parameters of type LocalTransactionModifier 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
Subclasses of LocalTransaction in org.infinispan.transaction.xa.recoveryModifier and TypeClassDescriptionclass
ExtendsLocalXaTransaction
and adds recovery related information.Methods in org.infinispan.transaction.xa.recovery with parameters of type LocalTransactionModifier and TypeMethodDescriptionvoid
RecoveryAwareTransactionTable.localTransactionPrepared
(LocalTransaction localTransaction)