org.infinispan.transaction.xa
Enum TransactionFactory.TxFactoryEnum
java.lang.Object
java.lang.Enum<TransactionFactory.TxFactoryEnum>
org.infinispan.transaction.xa.TransactionFactory.TxFactoryEnum
- All Implemented Interfaces:
- Serializable, Comparable<TransactionFactory.TxFactoryEnum>
- Enclosing class:
- TransactionFactory
public static enum TransactionFactory.TxFactoryEnum
- extends Enum<TransactionFactory.TxFactoryEnum>
Method Summary |
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. |
DLD_RECOVERY_XA
public static final TransactionFactory.TxFactoryEnum DLD_RECOVERY_XA
DLD_NORECOVERY_XA
public static final TransactionFactory.TxFactoryEnum DLD_NORECOVERY_XA
DLD_NORECOVERY_NOXA
public static final TransactionFactory.TxFactoryEnum DLD_NORECOVERY_NOXA
NODLD_RECOVERY_XA
public static final TransactionFactory.TxFactoryEnum NODLD_RECOVERY_XA
NODLD_NORECOVERY_XA
public static final TransactionFactory.TxFactoryEnum NODLD_NORECOVERY_XA
NODLD_NORECOVERY_NOXA
public static final TransactionFactory.TxFactoryEnum NODLD_NORECOVERY_NOXA
values
public static TransactionFactory.TxFactoryEnum[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TransactionFactory.TxFactoryEnum c : TransactionFactory.TxFactoryEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TransactionFactory.TxFactoryEnum valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
newLocalTransaction
public abstract LocalTransaction newLocalTransaction(Transaction tx,
GlobalTransaction gtx,
boolean implicitTransaction,
int viewId)
newGlobalTransaction
public abstract GlobalTransaction newGlobalTransaction(Address addr,
boolean remote,
ClusterIdGenerator clusterIdGenerator,
boolean clustered)
newGlobalTransaction
public abstract GlobalTransaction newGlobalTransaction()
generateRandomId
protected long generateRandomId()
addCoinToss
protected GlobalTransaction addCoinToss(DldGlobalTransaction dldGlobalTransaction)
newRemoteTransaction
public abstract RemoteTransaction newRemoteTransaction(WriteCommand[] modifications,
GlobalTransaction tx,
int viewId)
newRemoteTransaction
public abstract RemoteTransaction newRemoteTransaction(GlobalTransaction tx,
int viewId)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.