Package 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>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DLD_NORECOVERY_NOXA
Deprecated.DLD_NORECOVERY_XA
Deprecated.DLD_RECOVERY_XA
Deprecated.NODLD_NORECOVERY_NOXA
NODLD_NORECOVERY_XA
NODLD_RECOVERY_XA
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected GlobalTransaction
addCoinToss(DldGlobalTransaction dldGlobalTransaction)
protected long
generateRandomId()
abstract GlobalTransaction
newGlobalTransaction()
abstract GlobalTransaction
newGlobalTransaction(Address addr, boolean remote, VersionGenerator clusterIdGenerator, boolean clustered)
abstract LocalTransaction
newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId, long txCreationTime)
abstract RemoteTransaction
newRemoteTransaction(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
abstract RemoteTransaction
newRemoteTransaction(GlobalTransaction tx, int topologyId, long txCreationTime)
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.
-
-
-
Enum Constant Detail
-
DLD_RECOVERY_XA
@Deprecated public static final TransactionFactory.TxFactoryEnum DLD_RECOVERY_XA
Deprecated.
-
DLD_NORECOVERY_XA
@Deprecated public static final TransactionFactory.TxFactoryEnum DLD_NORECOVERY_XA
Deprecated.
-
DLD_NORECOVERY_NOXA
@Deprecated public static final TransactionFactory.TxFactoryEnum DLD_NORECOVERY_NOXA
Deprecated.
-
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
-
-
Method Detail
-
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 nameNullPointerException
- if the argument is null
-
newLocalTransaction
public abstract LocalTransaction newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId, long txCreationTime)
-
newGlobalTransaction
public abstract GlobalTransaction newGlobalTransaction(Address addr, boolean remote, VersionGenerator clusterIdGenerator, boolean clustered)
-
newGlobalTransaction
public abstract GlobalTransaction newGlobalTransaction()
-
generateRandomId
protected long generateRandomId()
-
addCoinToss
protected GlobalTransaction addCoinToss(DldGlobalTransaction dldGlobalTransaction)
-
newRemoteTransaction
public abstract RemoteTransaction newRemoteTransaction(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
-
newRemoteTransaction
public abstract RemoteTransaction newRemoteTransaction(GlobalTransaction tx, int topologyId, long txCreationTime)
-
-