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
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract 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) newRemoteTransaction
(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime) newRemoteTransaction
(GlobalTransaction tx, int topologyId, long txCreationTime) 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 Details
-
NODLD_RECOVERY_XA
-
NODLD_NORECOVERY_XA
-
NODLD_NORECOVERY_NOXA
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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)
-