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) |
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(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 start()
public void init(boolean dldEnabled, boolean recoveryEnabled, boolean xa, boolean batchingEnabled)
Copyright © 2021 JBoss by Red Hat. All rights reserved.