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
Method Summary |
void |
init(boolean dldEnabled,
boolean recoveryEnabled,
boolean xa,
boolean batchingEnabled)
|
void |
init(Configuration configuration,
EmbeddedCacheManager cm,
RpcManager rpcManager)
|
GlobalTransaction |
newGlobalTransaction()
|
GlobalTransaction |
newGlobalTransaction(Address addr,
boolean remote)
|
LocalTransaction |
newLocalTransaction(Transaction tx,
GlobalTransaction gtx,
boolean implicitTransaction,
int topologyId)
|
RemoteTransaction |
newRemoteTransaction(GlobalTransaction tx,
int topologyId)
|
RemoteTransaction |
newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int topologyId)
|
void |
start()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionFactory
public TransactionFactory()
newGlobalTransaction
public GlobalTransaction newGlobalTransaction()
newGlobalTransaction
public GlobalTransaction newGlobalTransaction(Address addr,
boolean remote)
newLocalTransaction
public LocalTransaction newLocalTransaction(Transaction tx,
GlobalTransaction gtx,
boolean implicitTransaction,
int topologyId)
newRemoteTransaction
public RemoteTransaction newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int topologyId)
newRemoteTransaction
public RemoteTransaction newRemoteTransaction(GlobalTransaction tx,
int topologyId)
init
public void init(Configuration configuration,
EmbeddedCacheManager cm,
RpcManager rpcManager)
start
public void start()
init
public void init(boolean dldEnabled,
boolean recoveryEnabled,
boolean xa,
boolean batchingEnabled)
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.