Uses of Class
org.infinispan.commons.tx.XidImpl
Package
Description
Commands that operate on the cache, either locally or remotely.
Infinispan's bare-bones internal transaction manager, used for batching calls as well as as a dummy, unit-test-only
transaction manager.
XA transaction support.
-
Uses of XidImpl in org.infinispan.client.hotrod.transaction.manager
Modifier and TypeClassDescriptionfinal class
Implementation ofXid
used byRemoteTransactionManager
. -
Uses of XidImpl in org.infinispan.commands
Modifier and TypeMethodDescriptionorg.infinispan.commands.remote.recovery.CompleteTransactionCommand
CommandsFactory.buildCompleteTransactionCommand
(XidImpl xid, boolean commit) Builds a CompleteTransactionCommand command.org.infinispan.commands.remote.recovery.CompleteTransactionCommand
CommandsFactoryImpl.buildCompleteTransactionCommand
(XidImpl xid, boolean commit) org.infinispan.commands.remote.recovery.TxCompletionNotificationCommand
CommandsFactory.buildTxCompletionNotificationCommand
(XidImpl xid, GlobalTransaction globalTransaction) Builds aTxCompletionNotificationCommand
.org.infinispan.commands.remote.recovery.TxCompletionNotificationCommand
CommandsFactoryImpl.buildTxCompletionNotificationCommand
(XidImpl xid, GlobalTransaction globalTransaction) -
Uses of XidImpl in org.infinispan.commons.tx
Modifier and TypeMethodDescriptionstatic XidImpl
static XidImpl
XidImpl.create
(int formatId, byte[] globalTransactionId, byte[] branchQualifier) TransactionImpl.getXid()
static XidImpl
XidImpl.readFrom
(ObjectInput input) Modifier and TypeMethodDescriptionAsyncXaResource.asyncCommit
(XidImpl xid, boolean onePhase) AsyncXaResource.asyncPrepare
(XidImpl xid) AsyncXaResource.asyncRollback
(XidImpl xid) void
static void
XidImpl.writeTo
(ObjectOutput output, XidImpl xid) -
Uses of XidImpl in org.infinispan.server.hotrod
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBuf
VersionedEncoder.recoveryResponse
(HotRodHeader header, HotRodServer server, io.netty.channel.Channel channel, Collection<XidImpl> xids) -
Uses of XidImpl in org.infinispan.server.hotrod.command.tx
Modifier and TypeFieldDescriptionprotected XidImpl
AbstractForwardTxCommand.xid
protected XidImpl
AbstractForwardTxCommand.xid
ModifierConstructorDescriptionForwardCommitCommand
(ByteString cacheName, XidImpl xid, long timeout) ForwardRollbackCommand
(ByteString cacheName, XidImpl xid, long timeout) -
Uses of XidImpl in org.infinispan.server.hotrod.transport
-
Uses of XidImpl in org.infinispan.server.hotrod.tx
ModifierConstructorDescriptionPrepareCoordinator
(AdvancedCache<byte[], byte[]> cache, XidImpl xid, boolean recoverable, long transactionTimeout) -
Uses of XidImpl in org.infinispan.server.hotrod.tx.operation
Modifier and TypeMethodDescriptionstatic void
Util.commitLocalTransaction
(AdvancedCache<?, ?> cache, XidImpl xid, long timeout) static void
Util.rollbackLocalTransaction
(AdvancedCache<?, ?> cache, XidImpl xid, long timeout) ModifierConstructorDescriptionCommitTransactionOperation
(HotRodHeader header, HotRodServer server, Subject subject, XidImpl xid, BiConsumer<HotRodHeader, Integer> reply) RollbackTransactionOperation
(HotRodHeader header, HotRodServer server, Subject subject, XidImpl xid, BiConsumer<HotRodHeader, Integer> reply) -
Uses of XidImpl in org.infinispan.server.hotrod.tx.table
Modifier and TypeMethodDescriptionvoid
PerCacheTxTable.createLocalTx
(XidImpl xid, EmbeddedTransaction tx) Adds theEmbeddedTransaction
in the local transaction table.void
GlobalTxTable.forgetTransaction
(XidImpl xid) PerCacheTxTable.getLocalTx
(XidImpl xid) void
GlobalTxTable.markToCommit
(XidImpl xid, CacheNameCollector collector) void
GlobalTxTable.markToRollback
(XidImpl xid, CacheNameCollector collector) void
PerCacheTxTable.removeLocalTx
(XidImpl xid) Removes the localEmbeddedTransaction
associated toxid
.boolean
-
Uses of XidImpl in org.infinispan.server.hotrod.tx.table.functions
-
Uses of XidImpl in org.infinispan.transaction.tm
-
Uses of XidImpl in org.infinispan.transaction.xa
Modifier and TypeFieldDescriptionprotected ConcurrentMap<XidImpl,
LocalXaTransaction> XaTransactionTable.xid2LocalTx
Modifier and TypeMethodDescriptionTransactionXaAdapter.asyncCommit
(XidImpl xid, boolean onePhase) TransactionXaAdapter.asyncPrepare
(XidImpl xid) TransactionXaAdapter.asyncRollback
(XidImpl xid) XaTransactionTable.getLocalTransaction
(XidImpl xid) void
void
-
Uses of XidImpl in org.infinispan.transaction.xa.recovery
Modifier and TypeMethodDescriptionXidImpl[]
PreparedTxIterator.all()
XidImpl[]
RecoveryManager.RecoveryIterator.all()
Exhaust the iterator.RecoveryAwareTransactionTable.getRemoteTransactionXid
(Long internalId) Iterates over the remote transactions and returns the XID of the one that has an internal id equal with the supplied internal Id.InDoubtTxInfo.getXid()
XidImpl[]
PreparedTxIterator.next()
Modifier and TypeMethodDescriptionRecoveryManager.getInDoubtTransactions()
Local call that returns a list containing:RecoveryManagerImpl.getInDoubtTransactions()
RecoveryAwareTransactionTable.getLocalPreparedXids()
Modifier and TypeMethodDescriptionRecoveryManager.forceTransactionCompletion
(XidImpl xid, boolean commit) Replays the given transaction by re-running the prepare and commit.RecoveryManagerImpl.forceTransactionCompletion
(XidImpl xid, boolean commit) RecoveryManager.forceTransactionCompletionFromCluster
(XidImpl xid, Address where, boolean commit) This method invokesRecoveryManager.forceTransactionCompletion(XidImpl, boolean)
on the specified node.RecoveryManagerImpl.forceTransactionCompletionFromCluster
(XidImpl xid, Address where, boolean commit) RecoveryManager.getPreparedTransaction
(XidImpl xid) Local call returning the remote transaction identified by the supplied xid or null.RecoveryManagerImpl.getPreparedTransaction
(XidImpl xid) RecoveryManager.removeRecoveryInformation
(Collection<Address> where, 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.RecoveryManager.removeRecoveryInformation
(XidImpl xid) Remove recovery information stored on this node (doesn't involve rpc).RecoveryManagerImpl.removeRecoveryInformation
(Collection<Address> lockOwners, XidImpl xid, GlobalTransaction gtx, boolean fromCluster) RecoveryManagerImpl.removeRecoveryInformation
(XidImpl xid) RecoveryAwareTransactionTable.removeRemoteTransaction
(XidImpl xid) ModifierConstructorDescriptionInDoubtTxInfo
(XidImpl xid, long internalId) InDoubtTxInfo
(XidImpl xid, long internalId, int status) RecoveryInfoKey
(XidImpl xid, String cacheName)