Package org.infinispan.transaction.xa
Class TransactionFactory
- java.lang.Object
-
- org.infinispan.transaction.xa.TransactionFactory
-
public class TransactionFactory extends Object
Factory for transaction related sate.- Author:
- Mircea.Markus@jboss.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactionFactory.TxFactoryEnum
-
Constructor Summary
Constructors Constructor Description TransactionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(boolean dldEnabled, boolean recoveryEnabled, boolean xa, boolean batchingEnabled)
GlobalTransaction
newGlobalTransaction()
GlobalTransaction
newGlobalTransaction(Address addr, boolean remote)
org.infinispan.transaction.impl.LocalTransaction
newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId)
org.infinispan.transaction.impl.RemoteTransaction
newRemoteTransaction(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId)
org.infinispan.transaction.impl.RemoteTransaction
newRemoteTransaction(GlobalTransaction tx, int topologyId)
void
start()
-
-
-
Method Detail
-
newGlobalTransaction
public GlobalTransaction newGlobalTransaction()
-
newGlobalTransaction
public GlobalTransaction newGlobalTransaction(Address addr, boolean remote)
-
newLocalTransaction
public org.infinispan.transaction.impl.LocalTransaction newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId)
-
newRemoteTransaction
public org.infinispan.transaction.impl.RemoteTransaction newRemoteTransaction(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId)
-
newRemoteTransaction
public org.infinispan.transaction.impl.RemoteTransaction newRemoteTransaction(GlobalTransaction tx, int topologyId)
-
start
public void start()
-
init
public void init(boolean dldEnabled, boolean recoveryEnabled, boolean xa, boolean batchingEnabled)
-
-