Package org.infinispan.transaction.xa
Class TransactionFactory
java.lang.Object
org.infinispan.transaction.xa.TransactionFactory
Factory for transaction related state.
- Author:
- Mircea.Markus@jboss.com
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(boolean dldEnabled, boolean recoveryEnabled, boolean xa, boolean batchingEnabled) newGlobalTransaction
(Address addr, boolean remote) newLocalTransaction
(jakarta.transaction.Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId) newRemoteTransaction
(List<org.infinispan.commands.write.WriteCommand> modifications, GlobalTransaction gtx, int topologyId) newRemoteTransaction
(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId) newRemoteTransaction
(GlobalTransaction tx, int topologyId) void
start()
-
Constructor Details
-
TransactionFactory
public TransactionFactory()
-
-
Method Details
-
newGlobalTransaction
-
newLocalTransaction
public LocalTransaction newLocalTransaction(jakarta.transaction.Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId) -
newRemoteTransaction
public RemoteTransaction newRemoteTransaction(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId) -
newRemoteTransaction
-
newRemoteTransaction
public RemoteTransaction newRemoteTransaction(List<org.infinispan.commands.write.WriteCommand> modifications, GlobalTransaction gtx, int topologyId) -
start
public void start() -
init
public void init(boolean dldEnabled, boolean recoveryEnabled, boolean xa, boolean batchingEnabled)
-