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) |
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 viewId) |
RemoteTransaction |
newRemoteTransaction(GlobalTransaction tx,
int viewId) |
RemoteTransaction |
newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int viewId) |
void |
start() |
public GlobalTransaction newGlobalTransaction()
public GlobalTransaction newGlobalTransaction(Address addr, boolean remote)
public LocalTransaction newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int viewId)
public RemoteTransaction newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int viewId)
public RemoteTransaction newRemoteTransaction(GlobalTransaction tx, int viewId)
public void init(Configuration configuration, EmbeddedCacheManager cm, RpcManager rpcManager)
public void start()
public void init(boolean dldEnabled, boolean recoveryEnabled, boolean xa)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.