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 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 abstract GlobalTransaction
newGlobalTransaction(Address addr, boolean remote, VersionGenerator clusterIdGenerator, boolean clustered)
abstract LocalTransaction
newLocalTransaction(javax.transaction.Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId, long txCreationTime)
abstract RemoteTransaction
newRemoteTransaction(List<org.infinispan.commands.write.WriteCommand> modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
RemoteTransaction
newRemoteTransaction(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
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
-
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(javax.transaction.Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId, long txCreationTime)
-
newGlobalTransaction
public abstract GlobalTransaction newGlobalTransaction(Address addr, boolean remote, VersionGenerator clusterIdGenerator, boolean clustered)
-
newRemoteTransaction
public RemoteTransaction newRemoteTransaction(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
-
newRemoteTransaction
public RemoteTransaction newRemoteTransaction(GlobalTransaction tx, int topologyId, long txCreationTime)
-
newRemoteTransaction
public abstract RemoteTransaction newRemoteTransaction(List<org.infinispan.commands.write.WriteCommand> modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
-
-