Uses of Class
org.infinispan.commons.tx.XidImpl
Packages that use 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
Subclasses of XidImpl in org.infinispan.client.hotrod.transaction.managerModifier and TypeClassDescriptionfinal class
Implementation ofXid
used byRemoteTransactionManager
. -
Uses of XidImpl in org.infinispan.commands
Methods in org.infinispan.commands with parameters of type XidImplModifier 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
Fields in org.infinispan.commons.tx with type parameters of type XidImplMethods in org.infinispan.commons.tx that return XidImplModifier and TypeMethodDescriptionstatic XidImpl
static XidImpl
XidImpl.create
(int formatId, byte[] globalTransactionId, byte[] branchQualifier) TransactionImpl.getXid()
static XidImpl
XidImpl.readFrom
(ObjectInput input) Methods in org.infinispan.commons.tx with parameters of type XidImplModifier 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
Method parameters in org.infinispan.server.hotrod with type arguments of type XidImplModifier 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
Fields in org.infinispan.server.hotrod.command.tx declared as XidImplModifier and TypeFieldDescriptionprotected XidImpl
AbstractForwardTxCommand.xid
protected XidImpl
AbstractForwardTxCommand.xid
Constructors in org.infinispan.server.hotrod.command.tx with parameters of type XidImplModifierConstructorDescriptionForwardCommitCommand
(ByteString cacheName, XidImpl xid, long timeout) ForwardRollbackCommand
(ByteString cacheName, XidImpl xid, long timeout) -
Uses of XidImpl in org.infinispan.server.hotrod.transport
Methods in org.infinispan.server.hotrod.transport with parameters of type XidImpl -
Uses of XidImpl in org.infinispan.server.hotrod.tx
Constructors in org.infinispan.server.hotrod.tx with parameters of type XidImplModifierConstructorDescriptionPrepareCoordinator
(AdvancedCache<byte[], byte[]> cache, XidImpl xid, boolean recoverable, long transactionTimeout) -
Uses of XidImpl in org.infinispan.server.hotrod.tx.operation
Methods in org.infinispan.server.hotrod.tx.operation with parameters of type XidImplModifier and TypeMethodDescriptionstatic void
Util.commitLocalTransaction
(AdvancedCache<?, ?> cache, XidImpl xid, long timeout) static void
Util.rollbackLocalTransaction
(AdvancedCache<?, ?> cache, XidImpl xid, long timeout) Constructors in org.infinispan.server.hotrod.tx.operation with parameters of type XidImplModifierConstructorDescriptionCommitTransactionOperation
(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
Methods in org.infinispan.server.hotrod.tx.table that return XidImplMethods in org.infinispan.server.hotrod.tx.table that return types with arguments of type XidImplMethods in org.infinispan.server.hotrod.tx.table with parameters of type XidImplModifier 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
Constructors in org.infinispan.server.hotrod.tx.table with parameters of type XidImpl -
Uses of XidImpl in org.infinispan.server.hotrod.tx.table.functions
Constructors in org.infinispan.server.hotrod.tx.table.functions with parameters of type XidImpl -
Uses of XidImpl in org.infinispan.transaction.tm
Methods in org.infinispan.transaction.tm that return XidImpl -
Uses of XidImpl in org.infinispan.transaction.xa
Fields in org.infinispan.transaction.xa with type parameters of type XidImplModifier and TypeFieldDescriptionprotected ConcurrentMap
<XidImpl, LocalXaTransaction> XaTransactionTable.xid2LocalTx
Methods in org.infinispan.transaction.xa that return XidImplMethods in org.infinispan.transaction.xa with parameters of type XidImplModifier 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
Fields in org.infinispan.transaction.xa.recovery declared as XidImplMethods in org.infinispan.transaction.xa.recovery that return XidImplModifier 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()
Methods in org.infinispan.transaction.xa.recovery that return types with arguments of type XidImplModifier and TypeMethodDescriptionRecoveryManager.getInDoubtTransactions()
Local call that returns a list containing:RecoveryManagerImpl.getInDoubtTransactions()
RecoveryAwareTransactionTable.getLocalPreparedXids()
Methods in org.infinispan.transaction.xa.recovery with parameters of type XidImplModifier 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) Method parameters in org.infinispan.transaction.xa.recovery with type arguments of type XidImplConstructors in org.infinispan.transaction.xa.recovery with parameters of type XidImplModifierConstructorDescriptionInDoubtTxInfo
(XidImpl xid, long internalId) InDoubtTxInfo
(XidImpl xid, long internalId, int status) RecoveryInfoKey
(XidImpl xid, String cacheName)