public class TransactionFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TransactionFactory.TxFactoryEnum |
Constructor and Description |
---|
TransactionFactory() |
Modifier and Type | Method and Description |
---|---|
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() |
public GlobalTransaction newGlobalTransaction()
public GlobalTransaction newGlobalTransaction(Address addr, boolean remote)
public LocalTransaction newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId)
public RemoteTransaction newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId)
public RemoteTransaction newRemoteTransaction(GlobalTransaction tx, int topologyId)
public void init(Configuration configuration, EmbeddedCacheManager cm, RpcManager rpcManager)
public void start()
public void init(boolean dldEnabled, boolean recoveryEnabled, boolean xa, boolean batchingEnabled)
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.