Class TransactionFactory

java.lang.Object
org.infinispan.transaction.xa.TransactionFactory

public class TransactionFactory extends Object
Factory for transaction related state.
Author:
Mircea.Markus@jboss.com
  • Constructor Details

    • TransactionFactory

      public TransactionFactory()
  • Method Details

    • newGlobalTransaction

      public GlobalTransaction newGlobalTransaction(Address addr, boolean remote)
    • 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

      public RemoteTransaction newRemoteTransaction(GlobalTransaction tx, int topologyId)
    • 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)