Uses of Class
org.infinispan.transaction.xa.GlobalTransaction
-
-
Uses of GlobalTransaction in org.infinispan.commands
Method parameters in org.infinispan.commands with type arguments of type GlobalTransaction Modifier and Type Method Description CheckTransactionRpcCommandCommandsFactory. buildCheckTransactionRpcCommand(Collection<GlobalTransaction> globalTransactions)CheckTransactionRpcCommandCommandsFactoryImpl. buildCheckTransactionRpcCommand(Collection<GlobalTransaction> globalTransactions) -
Uses of GlobalTransaction in org.infinispan.commands.control
Methods in org.infinispan.commands.control with parameters of type GlobalTransaction Modifier and Type Method Description voidLockControlCommand. 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 GlobalTransactionClusteredGetCommand. getGlobalTransaction()Deprecated.Methods in org.infinispan.commands.remote that return types with arguments of type GlobalTransaction Modifier and Type Method Description static ResponseCollector<Collection<GlobalTransaction>>CheckTransactionRpcCommand. responseCollector()Constructors in org.infinispan.commands.remote with parameters of type GlobalTransaction Constructor Description ClusteredGetAllCommand(ByteString cacheName, List<?> keys, long flags, GlobalTransaction gtx)Constructor parameters in org.infinispan.commands.remote with type arguments of type GlobalTransaction Constructor Description CheckTransactionRpcCommand(ByteString cacheName, Collection<GlobalTransaction> gtxToCheck) -
Uses of GlobalTransaction in org.infinispan.commands.remote.recovery
Methods in org.infinispan.commands.remote.recovery that return GlobalTransaction Modifier and Type Method Description GlobalTransactionTxCompletionNotificationCommand. getGlobalTransaction()Constructors in org.infinispan.commands.remote.recovery with parameters of type GlobalTransaction Constructor Description TxCompletionNotificationCommand(org.infinispan.commons.tx.XidImpl 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 GlobalTransactionAbstractTransactionBoundaryCommand. globalTxMethods in org.infinispan.commands.tx that return GlobalTransaction Modifier and Type Method Description GlobalTransactionAbstractTransactionBoundaryCommand. getGlobalTransaction()GlobalTransactionTransactionBoundaryCommand. 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.context.impl
Methods in org.infinispan.context.impl that return GlobalTransaction Modifier and Type Method Description GlobalTransactionAbstractTxInvocationContext. getGlobalTransaction()GlobalTransactionTxInvocationContext. getGlobalTransaction()Returns the id of the transaction associated with the current call. -
Uses of GlobalTransaction in org.infinispan.notifications.cachelistener
Methods in org.infinispan.notifications.cachelistener with parameters of type GlobalTransaction Modifier and Type Method Description CompletionStage<Void>CacheNotifier. notifyTransactionCompleted(GlobalTransaction transaction, boolean successful, InvocationContext ctx)Notifies all registered listeners of a transaction completion event.CompletionStage<Void>CacheNotifierImpl. notifyTransactionCompleted(GlobalTransaction transaction, boolean successful, InvocationContext ctx)CompletionStage<Void>CacheNotifier. notifyTransactionRegistered(GlobalTransaction globalTransaction, boolean isOriginLocal)Notifies all registered listeners of a transaction registration event.CompletionStage<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 GlobalTransactionClusterEvent. 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 GlobalTransactionTransactionalEvent. 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 GlobalTransactionEventImpl. getGlobalTransaction()Methods in org.infinispan.notifications.cachelistener.event.impl with parameters of type GlobalTransaction Modifier and Type Method Description voidEventImpl. 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 booleanAvailablePartitionHandlingManager. addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications)booleanPartitionHandlingManager. addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications)Adds a partially committed transaction.booleanPartitionHandlingManagerImpl. addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications)booleanAvailablePartitionHandlingManager. addPartialCommit2PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, Map<Object,IncrementableEntryVersion> newVersions)booleanPartitionHandlingManager. addPartialCommit2PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, Map<Object,IncrementableEntryVersion> newVersions)Adds a partially committed transaction.booleanPartitionHandlingManagerImpl. addPartialCommit2PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, Map<Object,IncrementableEntryVersion> newVersions)booleanAvailablePartitionHandlingManager. addPartialRollbackTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys)booleanPartitionHandlingManager. addPartialRollbackTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys)Adds a partially aborted transaction.booleanPartitionHandlingManagerImpl. addPartialRollbackTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys)booleanAvailablePartitionHandlingManager. canRollbackTransactionAfterOriginatorLeave(GlobalTransaction globalTransaction)booleanPartitionHandlingManager. canRollbackTransactionAfterOriginatorLeave(GlobalTransaction globalTransaction)It checks if the transaction can be aborted when the originator leaves the cluster.booleanPartitionHandlingManagerImpl. canRollbackTransactionAfterOriginatorLeave(GlobalTransaction globalTransaction)booleanAvailablePartitionHandlingManager. isTransactionPartiallyCommitted(GlobalTransaction globalTransaction)booleanPartitionHandlingManager. isTransactionPartiallyCommitted(GlobalTransaction globalTransaction)It checks if the transaction resources (for example locks) can be released.booleanPartitionHandlingManagerImpl. isTransactionPartiallyCommitted(GlobalTransaction globalTransaction) -
Uses of GlobalTransaction in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer that return GlobalTransaction Modifier and Type Method Description GlobalTransactionTransactionInfo. 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 GlobalTransactionTransactionTable. 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 GlobalTransactionAbstractCacheTransaction. txMethods in org.infinispan.transaction.impl that return GlobalTransaction Modifier and Type Method Description GlobalTransactionAbstractCacheTransaction. getGlobalTransaction()GlobalTransactionTransactionTable. 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 booleanTransactionTable. containRemoteTx(GlobalTransaction globalTransaction)booleanTransactionTable. containsLocalTx(GlobalTransaction globalTransaction)TransactionTable.CompletedTransactionStatusTransactionTable. getCompletedTransactionStatus(GlobalTransaction gtx)LocalTransactionTransactionTable. getLocalTransaction(GlobalTransaction txId)Looks up a LocalTransaction given a GlobalTransaction.RemoteTransactionTransactionTable. getOrCreateRemoteTransaction(GlobalTransaction globalTx, WriteCommand[] modifications)Returns an existing remote transaction or creates one if none exists.RemoteTransactionTransactionTable. getRemoteTransaction(GlobalTransaction txId)Returns theRemoteTransactionassociated with the supplied transaction id.booleanClusteredTransactionOriginatorChecker. isOriginatorMissing(GlobalTransaction gtx)booleanClusteredTransactionOriginatorChecker. isOriginatorMissing(GlobalTransaction gtx, Collection<Address> liveMembers)booleanTransactionOriginatorChecker. isOriginatorMissing(GlobalTransaction gtx)booleanTransactionOriginatorChecker. isOriginatorMissing(GlobalTransaction gtx, Collection<Address> liveMembers)booleanTransactionTable. isTransactionCompleted(GlobalTransaction gtx)voidTransactionTable. 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.voidTransactionTable. remoteTransactionCommitted(GlobalTransaction gtx, boolean onePc)Removes theRemoteTransactioncorresponding to the given tx.voidTransactionTable. remoteTransactionPrepared(GlobalTransaction gtx)voidTransactionTable. remoteTransactionRollback(GlobalTransaction gtx)RemoteTransactionTransactionTable. removeRemoteTransaction(GlobalTransaction txId)Method parameters in org.infinispan.transaction.impl with type arguments of type GlobalTransaction Modifier and Type Method Description LocalTransactionTransactionTable. 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) -
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
Methods in org.infinispan.transaction.xa that return GlobalTransaction Modifier and Type Method Description GlobalTransactionCacheTransaction. getGlobalTransaction()Returns the transaction identifier.GlobalTransactionTransactionFactory. newGlobalTransaction(Address addr, boolean remote)abstract GlobalTransactionTransactionFactory.TxFactoryEnum. newGlobalTransaction(Address addr, boolean remote, VersionGenerator clusterIdGenerator, boolean clustered)GlobalTransactionGlobalTransaction.Externalizer. readObject(ObjectInput input)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 LocalTransactionTransactionFactory. newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId)abstract LocalTransactionTransactionFactory.TxFactoryEnum. newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId, long txCreationTime)RemoteTransactionTransactionFactory. newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId)RemoteTransactionTransactionFactory. newRemoteTransaction(GlobalTransaction tx, int topologyId)abstract RemoteTransactionTransactionFactory.TxFactoryEnum. newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)abstract RemoteTransactionTransactionFactory.TxFactoryEnum. newRemoteTransaction(GlobalTransaction tx, int topologyId, long txCreationTime)voidGlobalTransaction.Externalizer. writeObject(ObjectOutput output, GlobalTransaction gtx)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
Methods in org.infinispan.transaction.xa.recovery with parameters of type GlobalTransaction Modifier and Type Method Description RemoteTransactionRecoveryAwareTransactionTable. getRemoteTransaction(GlobalTransaction txId)booleanRecoveryManager. isTransactionPrepared(GlobalTransaction globalTx)Checks both internal state and transaction table's state for the given tx.booleanRecoveryManagerImpl. isTransactionPrepared(GlobalTransaction globalTx)voidRecoveryAwareTransactionTable. remoteTransactionCommitted(GlobalTransaction gtx, boolean onePc)voidRecoveryAwareTransactionTable. remoteTransactionPrepared(GlobalTransaction gtx)Marks the transaction as prepared.voidRecoveryAwareTransactionTable. remoteTransactionRollback(GlobalTransaction gtx)CompletionStage<Void>RecoveryManager. removeRecoveryInformation(Collection<Address> where, org.infinispan.commons.tx.XidImpl xid, 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.CompletionStage<Void>RecoveryManagerImpl. removeRecoveryInformation(Collection<Address> lockOwners, org.infinispan.commons.tx.XidImpl xid, 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
-
Uses of GlobalTransaction in org.infinispan.xsite.irac
Methods in org.infinispan.xsite.irac with parameters of type GlobalTransaction Modifier and Type Method Description voidDefaultIracManager. trackKeysFromTransaction(Stream<WriteCommand> modifications, GlobalTransaction lockOwner)voidIracManager. trackKeysFromTransaction(Stream<WriteCommand> modifications, GlobalTransaction lockOwner)Sets all keys affected by the transaction as changed.voidNoOpIracManager. trackKeysFromTransaction(Stream<WriteCommand> modifications, GlobalTransaction lockOwner)
-