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.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.query.backend
Constructor parameters in org.infinispan.query.backend with type arguments of type GlobalTransaction Constructor Description QueryInterceptor(org.hibernate.search.spi.SearchIntegrator searchFactory, KeyTransformationHandler keyTransformationHandler, IndexModificationStrategy indexingMode, ConcurrentMap<GlobalTransaction,Map<Object,Object>> txOldValues, AdvancedCache<?,?> cache)
TxQueryInterceptor(ConcurrentMap<GlobalTransaction,Map<Object,Object>> txOldValues, QueryInterceptor queryInterceptor)
-
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<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, 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(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(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(WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
RecoveryAwareRemoteTransaction(GlobalTransaction tx, int topologyId, long txCreationTime)
-
Uses of GlobalTransaction in org.infinispan.util.logging
-