Uses of Class
org.infinispan.transaction.xa.GlobalTransaction
-
Packages that use GlobalTransaction Package Description org.infinispan.interceptors.xsite Interceptors dealing with cross-site replication.org.infinispan.notifications.cachelistener Cache
-specific notifications and eventing.org.infinispan.notifications.cachelistener.cluster org.infinispan.notifications.cachelistener.event Cache
-specific listener eventsorg.infinispan.server.hotrod.tx org.infinispan.server.hotrod.tx.table org.infinispan.server.hotrod.tx.table.functions org.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.stats Cache statistics.org.infinispan.transaction JTA transaction support.org.infinispan.transaction.synchronization org.infinispan.transaction.xa XA transaction support.org.infinispan.transaction.xa.recovery -
-
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.server.hotrod.tx
Methods in org.infinispan.server.hotrod.tx with parameters of type GlobalTransaction Modifier and Type Method Description boolean
ServerTransactionOriginatorChecker. isOriginatorMissing(GlobalTransaction gtx)
boolean
ServerTransactionOriginatorChecker. isOriginatorMissing(GlobalTransaction gtx, Collection<Address> liveMembers)
int
PrepareCoordinator. onePhaseCommitRemoteTransaction(GlobalTransaction gtx, List<org.infinispan.commands.write.WriteCommand> modifications)
Commits a remote 1PC transaction that is already in MARK_COMMIT statevoid
PrepareCoordinator. rollbackRemoteTransaction(GlobalTransaction gtx)
Rollbacks a transaction that is remove in all the cluster members. -
Uses of GlobalTransaction in org.infinispan.server.hotrod.tx.table
Methods in org.infinispan.server.hotrod.tx.table that return GlobalTransaction Modifier and Type Method Description GlobalTransaction
TxState. getGlobalTransaction()
Constructors in org.infinispan.server.hotrod.tx.table with parameters of type GlobalTransaction Constructor Description TxState(GlobalTransaction globalTransaction, boolean recoverable, long timeout, TimeService timeService)
-
Uses of GlobalTransaction in org.infinispan.server.hotrod.tx.table.functions
Constructors in org.infinispan.server.hotrod.tx.table.functions with parameters of type GlobalTransaction Constructor Description CreateStateFunction(GlobalTransaction globalTransaction, boolean recoverable, long timeout)
-
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, org.infinispan.commands.write.WriteCommand[] modifications, Set<Object> lockedKeys)
-
Uses of GlobalTransaction in org.infinispan.stats
Methods in org.infinispan.stats with parameters of type GlobalTransaction Modifier and Type Method Description void
CacheStatisticManager. add(ExtendedStatistic stat, double value, GlobalTransaction globalTransaction, boolean local)
Adds a value to a statistic.void
CacheStatisticManager. beginTransaction(GlobalTransaction globalTransaction, boolean local)
Signals the start of a transaction.void
CacheStatisticManager. increment(ExtendedStatistic stat, GlobalTransaction globalTransaction, boolean local)
Increments the statistic value.void
CacheStatisticManager. markAsWriteTransaction(GlobalTransaction globalTransaction, boolean local)
Marks the transaction as a write transaction (instead of a read only transaction)void
CacheStatisticManager. onPrepareCommand(GlobalTransaction globalTransaction, boolean local)
Invoked when aPrepareCommand
is received for a transaction.void
CacheStatisticManager. setTransactionOutcome(boolean commit, GlobalTransaction globalTransaction, boolean local)
Sets the transaction outcome to commit or rollback, depending if the transaction has commit successfully or not respectively.void
CacheStatisticManager. terminateTransaction(GlobalTransaction globalTransaction, boolean local, boolean remote)
Signals the ending of a transaction. -
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.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 org.infinispan.transaction.impl.LocalTransaction
TransactionFactory. newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId)
abstract org.infinispan.transaction.impl.LocalTransaction
TransactionFactory.TxFactoryEnum. newLocalTransaction(Transaction tx, GlobalTransaction gtx, boolean implicitTransaction, int topologyId, long txCreationTime)
org.infinispan.transaction.impl.RemoteTransaction
TransactionFactory. newRemoteTransaction(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId)
org.infinispan.transaction.impl.RemoteTransaction
TransactionFactory. newRemoteTransaction(GlobalTransaction tx, int topologyId)
abstract org.infinispan.transaction.impl.RemoteTransaction
TransactionFactory.TxFactoryEnum. newRemoteTransaction(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
abstract org.infinispan.transaction.impl.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 org.infinispan.transaction.impl.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(org.infinispan.commands.write.WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
RecoveryAwareRemoteTransaction(GlobalTransaction tx, int topologyId, long txCreationTime)
-