Uses of Class
org.infinispan.transaction.xa.GlobalTransaction
-
-
Uses of GlobalTransaction in org.infinispan.commands
-
Uses of GlobalTransaction in org.infinispan.commands.control
Methods in org.infinispan.commands.control with parameters of type GlobalTransaction Modifier and Type Method Description void
LockControlCommand. setGlobalTransaction(GlobalTransaction gtx)
Constructors in org.infinispan.commands.control with parameters of type GlobalTransaction Constructor Description LockControlCommand(Object key, ByteString cacheName, long flags, GlobalTransaction gtx)
LockControlCommand(Collection<?> keys, ByteString cacheName, long flags, GlobalTransaction gtx)
-
Uses of GlobalTransaction in org.infinispan.commands.remote
Methods in org.infinispan.commands.remote that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
ClusteredGetCommand. getGlobalTransaction()
Deprecated.Constructors in org.infinispan.commands.remote with parameters of type GlobalTransaction Constructor Description ClusteredGetAllCommand(ByteString cacheName, List<?> keys, long flags, GlobalTransaction gtx)
-
Uses of GlobalTransaction in org.infinispan.commands.remote.recovery
Methods in org.infinispan.commands.remote.recovery that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
TxCompletionNotificationCommand. getGlobalTransaction()
Constructors in org.infinispan.commands.remote.recovery with parameters of type GlobalTransaction Constructor Description TxCompletionNotificationCommand(Xid xid, GlobalTransaction gtx, ByteString cacheName)
-
Uses of GlobalTransaction in org.infinispan.commands.tx
Fields in org.infinispan.commands.tx declared as GlobalTransaction Modifier and Type Field Description protected GlobalTransaction
AbstractTransactionBoundaryCommand. globalTx
Methods in org.infinispan.commands.tx that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
AbstractTransactionBoundaryCommand. getGlobalTransaction()
GlobalTransaction
TransactionBoundaryCommand. getGlobalTransaction()
Constructors in org.infinispan.commands.tx with parameters of type GlobalTransaction Constructor Description CommitCommand(ByteString cacheName, GlobalTransaction gtx)
PrepareCommand(ByteString cacheName, GlobalTransaction gtx, boolean onePhaseCommit, WriteCommand... modifications)
PrepareCommand(ByteString cacheName, GlobalTransaction gtx, List<WriteCommand> commands, boolean onePhaseCommit)
RollbackCommand(ByteString cacheName, GlobalTransaction globalTransaction)
VersionedCommitCommand(ByteString cacheName, GlobalTransaction gtx)
VersionedPrepareCommand(ByteString cacheName, GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhase)
-
Uses of GlobalTransaction in org.infinispan.commands.tx.totalorder
Constructors in org.infinispan.commands.tx.totalorder with parameters of type GlobalTransaction Constructor Description TotalOrderCommitCommand(ByteString cacheName, GlobalTransaction gtx)
TotalOrderNonVersionedPrepareCommand(ByteString cacheName, GlobalTransaction gtx, List<WriteCommand> commands)
TotalOrderNonVersionedPrepareCommand(ByteString cacheName, GlobalTransaction gtx, WriteCommand... modifications)
TotalOrderRollbackCommand(ByteString cacheName, GlobalTransaction globalTransaction)
TotalOrderVersionedCommitCommand(ByteString cacheName, GlobalTransaction gtx)
TotalOrderVersionedPrepareCommand(ByteString cacheName, GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhase)
-
Uses of GlobalTransaction in org.infinispan.context.impl
Methods in org.infinispan.context.impl that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
AbstractTxInvocationContext. getGlobalTransaction()
GlobalTransaction
TxInvocationContext. getGlobalTransaction()
Returns the id of the transaction associated with the current call. -
Uses of GlobalTransaction in org.infinispan.interceptors.xsite
Methods in org.infinispan.interceptors.xsite with parameters of type GlobalTransaction Modifier and Type Method Description protected boolean
BaseBackupInterceptor. isTxFromRemoteSite(GlobalTransaction gtx)
-
Uses of GlobalTransaction in org.infinispan.notifications.cachelistener
Methods in org.infinispan.notifications.cachelistener with parameters of type GlobalTransaction Modifier and Type Method Description void
CacheNotifier. notifyTransactionCompleted(GlobalTransaction transaction, boolean successful, InvocationContext ctx)
Notifies all registered listeners of a transaction completion event.void
CacheNotifierImpl. notifyTransactionCompleted(GlobalTransaction transaction, boolean successful, InvocationContext ctx)
void
CacheNotifier. notifyTransactionRegistered(GlobalTransaction globalTransaction, boolean isOriginLocal)
Notifies all registered listeners of a transaction registration event.void
CacheNotifierImpl. notifyTransactionRegistered(GlobalTransaction globalTransaction, boolean isOriginLocal)
-
Uses of GlobalTransaction in org.infinispan.notifications.cachelistener.cluster
Methods in org.infinispan.notifications.cachelistener.cluster that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
ClusterEvent. getGlobalTransaction()
-
Uses of GlobalTransaction in org.infinispan.notifications.cachelistener.event
Methods in org.infinispan.notifications.cachelistener.event that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
TransactionalEvent. getGlobalTransaction()
-
Uses of GlobalTransaction in org.infinispan.notifications.cachelistener.event.impl
Methods in org.infinispan.notifications.cachelistener.event.impl that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
EventImpl. getGlobalTransaction()
Methods in org.infinispan.notifications.cachelistener.event.impl with parameters of type GlobalTransaction Modifier and Type Method Description void
EventImpl. setTransactionId(GlobalTransaction transaction)
-
Uses of GlobalTransaction in org.infinispan.partitionhandling.impl
Methods in org.infinispan.partitionhandling.impl that return types with arguments of type GlobalTransaction Modifier and Type Method Description Collection<GlobalTransaction>
AvailablePartitionHandlingManager. getPartialTransactions()
Collection<GlobalTransaction>
PartitionHandlingManager. getPartialTransactions()
Collection<GlobalTransaction>
PartitionHandlingManagerImpl. getPartialTransactions()
Methods in org.infinispan.partitionhandling.impl with parameters of type GlobalTransaction Modifier and Type Method Description boolean
AvailablePartitionHandlingManager. addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications)
boolean
PartitionHandlingManager. addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications)
Adds a partially committed transaction.boolean
PartitionHandlingManagerImpl. addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications)
boolean
AvailablePartitionHandlingManager. addPartialCommit2PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, EntryVersionsMap newVersions)
boolean
PartitionHandlingManager. addPartialCommit2PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, EntryVersionsMap newVersions)
Adds a partially committed transaction.boolean
PartitionHandlingManagerImpl. addPartialCommit2PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, EntryVersionsMap newVersions)
boolean
AvailablePartitionHandlingManager. addPartialRollbackTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys)
boolean
PartitionHandlingManager. addPartialRollbackTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys)
Adds a partially aborted transaction.boolean
PartitionHandlingManagerImpl. addPartialRollbackTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys)
boolean
AvailablePartitionHandlingManager. canRollbackTransactionAfterOriginatorLeave(GlobalTransaction globalTransaction)
boolean
PartitionHandlingManager. canRollbackTransactionAfterOriginatorLeave(GlobalTransaction globalTransaction)
It checks if the transaction can be aborted when the originator leaves the cluster.boolean
PartitionHandlingManagerImpl. canRollbackTransactionAfterOriginatorLeave(GlobalTransaction globalTransaction)
boolean
AvailablePartitionHandlingManager. isTransactionPartiallyCommitted(GlobalTransaction globalTransaction)
boolean
PartitionHandlingManager. isTransactionPartiallyCommitted(GlobalTransaction globalTransaction)
It checks if the transaction resources (for example locks) can be released.boolean
PartitionHandlingManagerImpl. isTransactionPartiallyCommitted(GlobalTransaction globalTransaction)
-
Uses of GlobalTransaction in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
TransactionInfo. getGlobalTransaction()
Constructors in org.infinispan.statetransfer with parameters of type GlobalTransaction Constructor Description TransactionInfo(GlobalTransaction globalTransaction, int topologyId, WriteCommand[] modifications, Set<Object> lockedKeys)
-
Uses of GlobalTransaction in org.infinispan.transaction
Methods in org.infinispan.transaction that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
TransactionTable. getGlobalTransaction(Transaction transaction)
Methods in org.infinispan.transaction that return types with arguments of type GlobalTransaction Modifier and Type Method Description Collection<GlobalTransaction>
TransactionTable. getLocalGlobalTransaction()
Collection<GlobalTransaction>
TransactionTable. getRemoteGlobalTransaction()
-
Uses of GlobalTransaction in org.infinispan.transaction.impl
Fields in org.infinispan.transaction.impl declared as GlobalTransaction Modifier and Type Field Description protected GlobalTransaction
AbstractCacheTransaction. tx
Methods in org.infinispan.transaction.impl that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
AbstractCacheTransaction. getGlobalTransaction()
GlobalTransaction
TotalOrderRemoteTransactionState. getGlobalTransaction()
GlobalTransaction
TransactionTable. getGlobalTransaction(Transaction transaction)
Methods in org.infinispan.transaction.impl that return types with arguments of type GlobalTransaction Modifier and Type Method Description Collection<GlobalTransaction>
TransactionTable. getLocalGlobalTransaction()
Collection<GlobalTransaction>
TransactionTable. getRemoteGlobalTransaction()
Methods in org.infinispan.transaction.impl with parameters of type GlobalTransaction Modifier and Type Method Description boolean
TransactionTable. containRemoteTx(GlobalTransaction globalTransaction)
boolean
TransactionTable. containsLocalTx(GlobalTransaction globalTransaction)
TransactionTable.CompletedTransactionStatus
TransactionTable. getCompletedTransactionStatus(GlobalTransaction gtx)
LocalTransaction
TransactionTable. getLocalTransaction(GlobalTransaction txId)
Looks up a LocalTransaction given a GlobalTransaction.RemoteTransaction
TransactionTable. getOrCreateRemoteTransaction(GlobalTransaction globalTx, WriteCommand[] modifications)
Returns an existing remote transaction or creates one if none exists.RemoteTransaction
TransactionTable. getRemoteTransaction(GlobalTransaction txId)
Returns theRemoteTransaction
associated with the supplied transaction id.boolean
ClusteredTransactionOriginatorChecker. isOriginatorMissing(GlobalTransaction gtx)
boolean
ClusteredTransactionOriginatorChecker. isOriginatorMissing(GlobalTransaction gtx, Collection<Address> liveMembers)
boolean
TransactionOriginatorChecker. isOriginatorMissing(GlobalTransaction gtx)
boolean
TransactionOriginatorChecker. isOriginatorMissing(GlobalTransaction gtx, Collection<Address> liveMembers)
boolean
TransactionTable. isTransactionCompleted(GlobalTransaction gtx)
void
TransactionTable. markTransactionCompleted(GlobalTransaction gtx, boolean successful)
With the current state transfer implementation it is possible for a transaction to be prepared several times on a remote node.void
TransactionTable. remoteTransactionCommitted(GlobalTransaction gtx, boolean onePc)
Removes theRemoteTransaction
corresponding to the given tx.void
TransactionTable. remoteTransactionPrepared(GlobalTransaction gtx)
void
TransactionTable. remoteTransactionRollback(GlobalTransaction gtx)
RemoteTransaction
TransactionTable. removeRemoteTransaction(GlobalTransaction txId)
Method parameters in org.infinispan.transaction.impl with type arguments of type GlobalTransaction Modifier and Type Method Description LocalTransaction
TransactionTable. getOrCreateLocalTransaction(Transaction transaction, boolean implicitTransaction, Supplier<GlobalTransaction> gtxFactory)
Similar toTransactionTable.getOrCreateLocalTransaction(Transaction, boolean)
but with a custom global transaction factory.Constructors in org.infinispan.transaction.impl with parameters of type GlobalTransaction Constructor Description AbstractCacheTransaction(GlobalTransaction tx, int topologyId, long txCreationTime)
LocalTransaction(Transaction transaction, GlobalTransaction tx, boolean implicitTransaction, int topologyId, long txCreationTime)
RemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
RemoteTransaction(GlobalTransaction tx, int topologyId, long txCreationTime)
TotalOrderRemoteTransactionState(GlobalTransaction globalTransaction)
-
Uses of GlobalTransaction in org.infinispan.transaction.synchronization
Constructors in org.infinispan.transaction.synchronization with parameters of type GlobalTransaction Constructor Description SyncLocalTransaction(Transaction transaction, GlobalTransaction tx, boolean implicitTransaction, int topologyId, long txCreationTime)
-
Uses of GlobalTransaction in org.infinispan.transaction.xa
Classes in org.infinispan.transaction.xa with type parameters of type GlobalTransaction Modifier and Type Class Description protected static class
GlobalTransaction.AbstractGlobalTxExternalizer<T extends GlobalTransaction>
Subclasses of GlobalTransaction in org.infinispan.transaction.xa Modifier and Type Class Description class
DldGlobalTransaction
Deprecated.Since 9.0, no longer used.Methods in org.infinispan.transaction.xa that return GlobalTransaction Modifier and Type Method Description protected GlobalTransaction
TransactionFactory.TxFactoryEnum. addCoinToss(DldGlobalTransaction dldGlobalTransaction)
protected GlobalTransaction
GlobalTransaction.Externalizer. createGlobalTransaction()
GlobalTransaction
CacheTransaction. getGlobalTransaction()
Returns the transaction identifier.GlobalTransaction
TransactionFactory. newGlobalTransaction()
GlobalTransaction
TransactionFactory. newGlobalTransaction(Address addr, boolean remote)
abstract GlobalTransaction
TransactionFactory.TxFactoryEnum. newGlobalTransaction()
abstract GlobalTransaction
TransactionFactory.TxFactoryEnum. newGlobalTransaction(Address addr, boolean remote, VersionGenerator clusterIdGenerator, boolean clustered)
Methods in org.infinispan.transaction.xa that return types with arguments of type GlobalTransaction Modifier and Type Method Description Set<Class<? extends GlobalTransaction>>
GlobalTransaction.Externalizer. getTypeClasses()
Methods in org.infinispan.transaction.xa with parameters of type GlobalTransaction Modifier and Type Method Description LocalTransaction
TransactionFactory. newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId)
abstract LocalTransaction
TransactionFactory.TxFactoryEnum. newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId, long txCreationTime)
RemoteTransaction
TransactionFactory. newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId)
RemoteTransaction
TransactionFactory. newRemoteTransaction(GlobalTransaction tx, int topologyId)
abstract RemoteTransaction
TransactionFactory.TxFactoryEnum. newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
abstract RemoteTransaction
TransactionFactory.TxFactoryEnum. newRemoteTransaction(GlobalTransaction tx, int topologyId, long txCreationTime)
Constructors in org.infinispan.transaction.xa with parameters of type GlobalTransaction Constructor Description LocalXaTransaction(Transaction transaction, GlobalTransaction tx, boolean implicitTransaction, int topologyId, long txCreationTime)
-
Uses of GlobalTransaction in org.infinispan.transaction.xa.recovery
Subclasses of GlobalTransaction in org.infinispan.transaction.xa.recovery Modifier and Type Class Description class
RecoveryAwareDldGlobalTransaction
Deprecated.Since 9.0, no longer used.class
RecoveryAwareGlobalTransaction
GlobalTransaction that also holds xid information, required for recovery.Methods in org.infinispan.transaction.xa.recovery with parameters of type GlobalTransaction Modifier and Type Method Description RemoteTransaction
RecoveryAwareTransactionTable. getRemoteTransaction(GlobalTransaction txId)
boolean
RecoveryManager. isTransactionPrepared(GlobalTransaction globalTx)
Checks both internal state and transaction table's state for the given tx.boolean
RecoveryManagerImpl. isTransactionPrepared(GlobalTransaction globalTx)
void
RecoveryAwareTransactionTable. remoteTransactionCommitted(GlobalTransaction gtx, boolean onePc)
void
RecoveryAwareTransactionTable. remoteTransactionPrepared(GlobalTransaction gtx)
Marks the transaction as prepared.void
RecoveryAwareTransactionTable. remoteTransactionRollback(GlobalTransaction gtx)
void
RecoveryManager. removeRecoveryInformation(Collection<Address> where, Xid xid, boolean sync, GlobalTransaction gtx, boolean fromCluster)
Removes from the specified nodes (or all nodes if the value of 'where' is null) the recovery information associated with these Xids.void
RecoveryManagerImpl. removeRecoveryInformation(Collection<Address> lockOwners, Xid xid, boolean sync, GlobalTransaction gtx, boolean fromCluster)
Constructors in org.infinispan.transaction.xa.recovery with parameters of type GlobalTransaction Constructor Description RecoveryAwareLocalTransaction(Transaction transaction, GlobalTransaction tx, boolean implicitTransaction, int topologyId, long txCreationTime)
RecoveryAwareRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
RecoveryAwareRemoteTransaction(GlobalTransaction tx, int topologyId, long txCreationTime)
-
Uses of GlobalTransaction in org.infinispan.util.logging
-