public static enum TransactionFactory.TxFactoryEnum extends Enum<TransactionFactory.TxFactoryEnum>
Enum Constant and Description |
---|
DLD_NORECOVERY_NOXA |
DLD_NORECOVERY_XA |
DLD_RECOVERY_XA |
NODLD_NORECOVERY_NOXA |
NODLD_NORECOVERY_XA |
NODLD_RECOVERY_XA |
Modifier and Type | Method and Description |
---|---|
protected GlobalTransaction |
addCoinToss(DldGlobalTransaction dldGlobalTransaction) |
protected long |
generateRandomId() |
abstract GlobalTransaction |
newGlobalTransaction() |
abstract GlobalTransaction |
newGlobalTransaction(Address addr,
boolean remote,
ClusterIdGenerator clusterIdGenerator,
boolean clustered) |
abstract LocalTransaction |
newLocalTransaction(Transaction tx,
GlobalTransaction gtx,
boolean implicitTransaction,
int viewId) |
abstract RemoteTransaction |
newRemoteTransaction(GlobalTransaction tx,
int viewId) |
abstract RemoteTransaction |
newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int viewId) |
static TransactionFactory.TxFactoryEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionFactory.TxFactoryEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionFactory.TxFactoryEnum DLD_RECOVERY_XA
public static final TransactionFactory.TxFactoryEnum DLD_NORECOVERY_XA
public static final TransactionFactory.TxFactoryEnum DLD_NORECOVERY_NOXA
public static final TransactionFactory.TxFactoryEnum NODLD_RECOVERY_XA
public static final TransactionFactory.TxFactoryEnum NODLD_NORECOVERY_XA
public static final TransactionFactory.TxFactoryEnum NODLD_NORECOVERY_NOXA
public static TransactionFactory.TxFactoryEnum[] values()
for (TransactionFactory.TxFactoryEnum c : TransactionFactory.TxFactoryEnum.values()) System.out.println(c);
public static TransactionFactory.TxFactoryEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic abstract LocalTransaction newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int viewId)
public abstract GlobalTransaction newGlobalTransaction(Address addr, boolean remote, ClusterIdGenerator clusterIdGenerator, boolean clustered)
public abstract GlobalTransaction newGlobalTransaction()
protected long generateRandomId()
protected GlobalTransaction addCoinToss(DldGlobalTransaction dldGlobalTransaction)
public abstract RemoteTransaction newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int viewId)
public abstract RemoteTransaction newRemoteTransaction(GlobalTransaction tx, int viewId)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.