Package | Description |
---|---|
javax.resource.spi |
The javax.resource.spi package contains APIs for the system
contracts defined in the Java EE Connector Architecture specification.
|
javax.resource.spi.work |
This package contains APIs for the Work Management, Generic Work and Security Work contracts.
|
javax.transaction.xa |
This package contains the classes and interfaces that define the interaction
between the transaction manager and the resources it manages.
|
org.h2.jdbcx | |
org.hornetq.core.client.impl | |
org.hornetq.core.persistence | |
org.hornetq.core.persistence.impl.journal | |
org.hornetq.core.persistence.impl.nullpm | |
org.hornetq.core.protocol.core.impl.wireformat | |
org.hornetq.core.server | |
org.hornetq.core.server.impl | |
org.hornetq.core.transaction | |
org.hornetq.core.transaction.impl | |
org.hornetq.jms.server.recovery |
This package is used to locate resources and connectors along the cluster set
I - JCA Connection Factories or InBound MDBs will call HornetQRegistryBase::register(XARecoveryConfig)
II - For each XARecoveryConfig the RegistryBase will instantiate a ResourceDiscoveryUnit which will
connect using that configuration and inform the Registry of any topology members
III - For each topology member found on the DiscoveryUnits, the RegistryBase will registry a HornetQResourceRecovery
that will exist per server
|
org.hornetq.jms.transaction | |
org.hornetq.utils |
Utilities and helper classes.
|
org.infinispan.commands |
Commands that operate on the cache, either locally or remotely.
|
org.infinispan.commands.remote.recovery | |
org.infinispan.transaction.tm |
Infinispan's bare-bones internal transaction manager, used for batching calls as well as as a dummy, unit-test-only
transaction manager.
|
org.infinispan.transaction.xa |
XA transaction support.
|
org.infinispan.transaction.xa.recovery | |
org.jboss.ejb.client | |
org.jboss.jbossts.txbridge.inbound | |
org.jboss.jbossts.txbridge.outbound |
Modifier and Type | Method and Description |
---|---|
Xid[] |
XATerminator.recover(int flag)
Obtains a list of prepared transaction branches from a resource
manager.
|
Modifier and Type | Method and Description |
---|---|
void |
XATerminator.commit(Xid xid,
boolean onePhase)
Commits the global transaction specified by xid.
|
void |
XATerminator.forget(Xid xid)
Tells the resource manager to forget about a heuristically
completed transaction branch.
|
int |
XATerminator.prepare(Xid xid)
Ask the resource manager to prepare for a transaction commit
of the transaction specified in xid.
|
void |
XATerminator.rollback(Xid xid)
Informs the resource manager to roll back work done on behalf
of a transaction branch.
|
Modifier and Type | Method and Description |
---|---|
Xid |
ExecutionContext.getXid() |
Modifier and Type | Method and Description |
---|---|
void |
ExecutionContext.setXid(Xid xid)
set a transaction context.
|
Modifier and Type | Method and Description |
---|---|
Xid[] |
XAResource.recover(int flag)
Return a list of transactions that are in a prepared or heuristically
state.
|
Modifier and Type | Method and Description |
---|---|
void |
XAResource.commit(Xid xid,
boolean onePhase)
Commit the work done on this resource in the given transaction.
|
void |
XAResource.end(Xid xid,
int flags)
Called to disassociate the resource from a transaction.
|
void |
XAResource.forget(Xid xid)
Tells the resource manager to forget about a heuristic decision.
|
int |
XAResource.prepare(Xid xid)
Prepare to commit the work done on this resource in the given
transaction.
|
void |
XAResource.rollback(Xid xid)
Roll back the work done on this resource in the given transaction.
|
void |
XAResource.start(Xid xid,
int flags)
Called to associate the resource with a transaction.
|
Modifier and Type | Class and Description |
---|---|
class |
JdbcXid
An object of this class represents a transaction id.
|
Modifier and Type | Method and Description |
---|---|
Xid[] |
JdbcXAConnection.recover(int flag)
Get the list of prepared transaction branches.
|
Modifier and Type | Method and Description |
---|---|
void |
JdbcXAConnection.commit(Xid xid,
boolean onePhase)
Commit a transaction.
|
void |
JdbcXAConnection.end(Xid xid,
int flags)
End a transaction.
|
void |
JdbcXAConnection.forget(Xid xid)
Forget a transaction.
|
int |
JdbcXAConnection.prepare(Xid xid)
Prepare a transaction.
|
void |
JdbcXAConnection.rollback(Xid xid)
Roll back a transaction.
|
void |
JdbcXAConnection.start(Xid xid,
int flags)
Start or continue to work on a transaction.
|
static String |
JdbcXid.toString(Xid xid)
INTERNAL
|
Modifier and Type | Method and Description |
---|---|
Xid[] |
DelegatingSession.recover(int flag) |
Xid[] |
ClientSessionImpl.recover(int flags) |
Modifier and Type | Method and Description |
---|---|
void |
DelegatingSession.commit(Xid xid,
boolean onePhase) |
void |
ClientSessionImpl.commit(Xid xid,
boolean onePhase) |
void |
DelegatingSession.end(Xid xid,
int flags) |
void |
ClientSessionImpl.end(Xid xid,
int flags) |
void |
DelegatingSession.forget(Xid xid) |
void |
ClientSessionImpl.forget(Xid xid) |
int |
DelegatingSession.prepare(Xid xid) |
int |
ClientSessionImpl.prepare(Xid xid) |
void |
DelegatingSession.rollback(Xid xid) |
void |
ClientSessionImpl.rollback(Xid xid) |
void |
DelegatingSession.start(Xid xid,
int flags) |
void |
ClientSessionImpl.start(Xid xid,
int flags) |
Modifier and Type | Method and Description |
---|---|
void |
StorageManager.prepare(long txID,
Xid xid) |
long |
StorageManager.storeHeuristicCompletion(Xid xid,
boolean isCommit) |
Modifier and Type | Field and Description |
---|---|
Xid |
JournalStorageManager.XidEncoding.xid |
Xid |
JournalStorageManager.HeuristicCompletionEncoding.xid |
Modifier and Type | Method and Description |
---|---|
void |
JournalStorageManager.prepare(long txID,
Xid xid) |
long |
JournalStorageManager.storeHeuristicCompletion(Xid xid,
boolean isCommit) |
Modifier and Type | Method and Description |
---|---|
void |
NullStorageManager.prepare(long txID,
Xid xid) |
long |
NullStorageManager.storeHeuristicCompletion(Xid xid,
boolean isCommit) |
Modifier and Type | Method and Description |
---|---|
Xid |
SessionXAStartMessage.getXid() |
Xid |
SessionXARollbackMessage.getXid() |
Xid |
SessionXAResumeMessage.getXid() |
Xid |
SessionXAPrepareMessage.getXid() |
Xid |
SessionXAJoinMessage.getXid() |
Xid |
SessionXAForgetMessage.getXid() |
Xid |
SessionXAEndMessage.getXid() |
Xid |
SessionXACommitMessage.getXid() |
Modifier and Type | Method and Description |
---|---|
List<Xid> |
SessionXAGetInDoubtXidsResponseMessage.getXids() |
Constructor and Description |
---|
SessionXACommitMessage(Xid xid,
boolean onePhase) |
SessionXAEndMessage(Xid xid,
boolean failed) |
SessionXAForgetMessage(Xid xid) |
SessionXAJoinMessage(Xid xid) |
SessionXAPrepareMessage(Xid xid) |
SessionXAResumeMessage(Xid xid) |
SessionXARollbackMessage(Xid xid) |
SessionXAStartMessage(Xid xid) |
Constructor and Description |
---|
SessionXAGetInDoubtXidsResponseMessage(List<Xid> xids) |
Modifier and Type | Method and Description |
---|---|
List<Xid> |
ServerSession.xaGetInDoubtXids() |
Modifier and Type | Method and Description |
---|---|
void |
ServerSession.xaCommit(Xid xid,
boolean onePhase) |
void |
ServerSession.xaEnd(Xid xid) |
void |
ServerSession.xaForget(Xid xid) |
void |
ServerSession.xaJoin(Xid xid) |
void |
ServerSession.xaPrepare(Xid xid) |
void |
ServerSession.xaResume(Xid xid) |
void |
ServerSession.xaRollback(Xid xid) |
void |
ServerSession.xaStart(Xid xid) |
Modifier and Type | Method and Description |
---|---|
List<Xid> |
ServerSessionImpl.xaGetInDoubtXids() |
Modifier and Type | Method and Description |
---|---|
void |
ServerSessionImpl.xaCommit(Xid xid,
boolean onePhase) |
void |
ServerSessionImpl.xaEnd(Xid xid) |
void |
ServerSessionImpl.xaForget(Xid xid) |
void |
ServerSessionImpl.xaJoin(Xid xid) |
void |
ServerSessionImpl.xaPrepare(Xid xid) |
void |
ServerSessionImpl.xaResume(Xid xid) |
void |
ServerSessionImpl.xaRollback(Xid xid) |
void |
ServerSessionImpl.xaStart(Xid xid) |
Modifier and Type | Method and Description |
---|---|
Xid |
Transaction.getXid() |
Modifier and Type | Method and Description |
---|---|
List<Xid> |
ResourceManager.getHeuristicCommittedTransactions() |
List<Xid> |
ResourceManager.getHeuristicRolledbackTransactions() |
List<Xid> |
ResourceManager.getPreparedTransactions() |
Map<Xid,Long> |
ResourceManager.getPreparedTransactionsWithCreationTime() |
Modifier and Type | Method and Description |
---|---|
Transaction |
ResourceManager.getTransaction(Xid xid) |
void |
ResourceManager.putHeuristicCompletion(long txid,
Xid xid,
boolean b) |
boolean |
ResourceManager.putTransaction(Xid xid,
Transaction tx) |
long |
ResourceManager.removeHeuristicCompletion(Xid xid) |
Transaction |
ResourceManager.removeTransaction(Xid xid) |
Constructor and Description |
---|
TransactionDetail(Xid xid,
Transaction tx,
Long creation) |
Modifier and Type | Class and Description |
---|---|
class |
XidImpl
Xid implementation
|
Modifier and Type | Method and Description |
---|---|
Xid |
TransactionImpl.getXid() |
Modifier and Type | Method and Description |
---|---|
List<Xid> |
ResourceManagerImpl.getHeuristicCommittedTransactions() |
List<Xid> |
ResourceManagerImpl.getHeuristicRolledbackTransactions() |
List<Xid> |
ResourceManagerImpl.getPreparedTransactions() |
Map<Xid,Long> |
ResourceManagerImpl.getPreparedTransactionsWithCreationTime() |
Modifier and Type | Method and Description |
---|---|
Transaction |
ResourceManagerImpl.getTransaction(Xid xid) |
void |
ResourceManagerImpl.putHeuristicCompletion(long recordID,
Xid xid,
boolean isCommit) |
boolean |
ResourceManagerImpl.putTransaction(Xid xid,
Transaction tx) |
long |
ResourceManagerImpl.removeHeuristicCompletion(Xid xid) |
Transaction |
ResourceManagerImpl.removeTransaction(Xid xid) |
static String |
XidImpl.toBase64String(Xid xid) |
Constructor and Description |
---|
CoreTransactionDetail(Xid xid,
Transaction tx,
Long creation) |
TransactionImpl(long id,
Xid xid,
StorageManager storageManager) |
TransactionImpl(Xid xid,
StorageManager storageManager,
int timeoutSeconds) |
XidImpl(Xid other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
Xid[] |
HornetQXAResourceWrapper.recover(int flag) |
Modifier and Type | Method and Description |
---|---|
void |
HornetQXAResourceWrapper.commit(Xid xid,
boolean onePhase) |
void |
HornetQXAResourceWrapper.end(Xid xid,
int flags) |
void |
HornetQXAResourceWrapper.forget(Xid xid) |
int |
HornetQXAResourceWrapper.prepare(Xid xid) |
void |
HornetQXAResourceWrapper.rollback(Xid xid) |
void |
HornetQXAResourceWrapper.start(Xid xid,
int flags) |
Constructor and Description |
---|
JMSTransactionDetail(Xid xid,
Transaction tx,
Long creation) |
Modifier and Type | Method and Description |
---|---|
static Xid |
XidCodecSupport.decodeXid(HornetQBuffer in) |
Modifier and Type | Method and Description |
---|---|
static void |
XidCodecSupport.encodeXid(Xid xid,
HornetQBuffer out) |
static int |
XidCodecSupport.getXidEncodeLength(Xid xid) |
Modifier and Type | Method and Description |
---|---|
CompleteTransactionCommand |
CommandsFactoryImpl.buildCompleteTransactionCommand(Xid xid,
boolean commit) |
CompleteTransactionCommand |
CommandsFactory.buildCompleteTransactionCommand(Xid xid,
boolean commit)
Builds a CompleteTransactionCommand command.
|
TxCompletionNotificationCommand |
CommandsFactoryImpl.buildTxCompletionNotificationCommand(Xid xid,
GlobalTransaction globalTransaction) |
TxCompletionNotificationCommand |
CommandsFactory.buildTxCompletionNotificationCommand(Xid xid,
GlobalTransaction globalTransaction)
Builds a
TxCompletionNotificationCommand . |
Modifier and Type | Method and Description |
---|---|
List<Xid> |
GetInDoubtTransactionsCommand.perform(InvocationContext ctx) |
Constructor and Description |
---|
CompleteTransactionCommand(String cacheName,
Xid xid,
boolean commit) |
TxCompletionNotificationCommand(Xid xid,
GlobalTransaction gtx,
String cacheName) |
Modifier and Type | Class and Description |
---|---|
class |
DummyNoXaXid
Xid to be used when no XAResource enlistment takes place.
|
class |
DummyXid
Implementation of Xid.
|
Modifier and Type | Field and Description |
---|---|
protected Xid |
DummyTransaction.xid |
Modifier and Type | Method and Description |
---|---|
Xid |
DummyTransaction.getXid() |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<Xid,LocalXaTransaction> |
XaTransactionTable.xid2LocalTx |
Modifier and Type | Method and Description |
---|---|
Xid |
LocalXaTransaction.getXid() |
Xid[] |
TransactionXaAdapter.recover(int flag) |
Modifier and Type | Method and Description |
---|---|
void |
TransactionXaAdapter.commit(Xid externalXid,
boolean isOnePhase)
Same comment as for
TransactionXaAdapter.prepare(javax.transaction.xa.Xid) applies for commit. |
void |
TransactionXaAdapter.end(Xid externalXid,
int i) |
void |
TransactionXaAdapter.forget(Xid externalXid) |
LocalXaTransaction |
XaTransactionTable.getLocalTransaction(Xid xid) |
int |
TransactionXaAdapter.prepare(Xid externalXid)
This can be call for any transaction object.
|
void |
TransactionXaAdapter.rollback(Xid externalXid)
Same comment as for
TransactionXaAdapter.prepare(javax.transaction.xa.Xid) applies for commit. |
void |
LocalXaTransaction.setXid(Xid xid) |
void |
TransactionXaAdapter.start(Xid externalXid,
int i) |
Modifier and Type | Class and Description |
---|---|
class |
SerializableXid
This xid implementation is needed because
Xid is not Serializable and
we need to serialize it and send it over the network. |
Modifier and Type | Field and Description |
---|---|
static Xid[] |
RecoveryManager.RecoveryIterator.NOTHING |
Modifier and Type | Method and Description |
---|---|
Xid[] |
RecoveryManager.RecoveryIterator.all()
Exhaust the iterator.
|
Xid[] |
PreparedTxIterator.all() |
Xid |
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.
|
Xid |
RecoveryManager.InDoubtTxInfo.getXid()
Transaction's id.
|
Xid |
RecoveryAwareGlobalTransaction.getXid() |
Xid |
RecoveryAwareDldGlobalTransaction.getXid() |
Xid |
RecoverableTransactionIdentifier.getXid() |
Xid |
InDoubtTxInfoImpl.getXid() |
Xid[] |
PreparedTxIterator.next() |
Modifier and Type | Method and Description |
---|---|
List<Xid> |
RecoveryManagerImpl.getInDoubtTransactions() |
List<Xid> |
RecoveryManager.getInDoubtTransactions()
Local call that returns a list containing:
|
List<Xid> |
RecoveryAwareTransactionTable.getLocalPreparedXids() |
Modifier and Type | Method and Description |
---|---|
String |
RecoveryManagerImpl.forceTransactionCompletion(Xid xid,
boolean commit) |
String |
RecoveryManager.forceTransactionCompletion(Xid xid,
boolean commit)
Replays the given transaction by re-running the prepare and commit.
|
String |
RecoveryManagerImpl.forceTransactionCompletionFromCluster(Xid xid,
Address where,
boolean commit) |
String |
RecoveryManager.forceTransactionCompletionFromCluster(Xid xid,
Address where,
boolean commit)
This method invokes
RecoveryManager.forceTransactionCompletion(javax.transaction.xa.Xid, boolean) on the specified node. |
RecoveryAwareRemoteTransaction |
RecoveryManagerImpl.getPreparedTransaction(Xid xid) |
RecoveryAwareTransaction |
RecoveryManager.getPreparedTransaction(Xid xid)
Local call returning the remote transaction identified by the supplied xid or null.
|
RecoveryAwareTransaction |
RecoveryManagerImpl.removeRecoveryInformation(Xid xid) |
RecoveryAwareTransaction |
RecoveryManager.removeRecoveryInformation(Xid xid)
Remove recovery information stored on this node (doesn't involve rpc).
|
void |
RecoveryManagerImpl.removeRecoveryInformationFromCluster(Collection<Address> lockOwners,
Xid xid,
boolean sync,
GlobalTransaction gtx) |
void |
RecoveryManager.removeRecoveryInformationFromCluster(Collection<Address> where,
Xid xid,
boolean sync,
GlobalTransaction gtx)
Removes from the specified nodes (or all nodes if the value of 'where' is null) the recovery information associated with
these Xids.
|
RemoteTransaction |
RecoveryAwareTransactionTable.removeRemoteTransaction(Xid xid) |
void |
RecoveryAwareGlobalTransaction.setXid(Xid xid) |
void |
RecoveryAwareDldGlobalTransaction.setXid(Xid xid) |
void |
RecoverableTransactionIdentifier.setXid(Xid xid) |
Modifier and Type | Method and Description |
---|---|
void |
PreparedTxIterator.add(List<Xid> xids) |
Constructor and Description |
---|
InDoubtTxInfoImpl(Xid xid,
long internalId) |
InDoubtTxInfoImpl(Xid xid,
Long internalId,
Integer status) |
InDoubtTxInfoImpl(Xid xid,
long internalId,
Set<Integer> status) |
RecoveryInfoKey(Xid xid,
String cacheName) |
SerializableXid(Xid xid) |
Modifier and Type | Method and Description |
---|---|
Xid |
XidTransactionID.getXid()
Get the corresponding XID for this transaction.
|
Modifier and Type | Method and Description |
---|---|
boolean |
XidTransactionID.isSameXid(Xid xid)
Determine whether the given Xid is the same as this Xid.
|
Modifier and Type | Method and Description |
---|---|
Xid |
BridgeDurableParticipant.getXid() |
Modifier and Type | Method and Description |
---|---|
com.arjuna.ats.jta.recovery.XAResourceOrphanFilter.Vote |
InboundBridgeRecoveryManager.checkXid(Xid xid)
Used to identify inbound bridged Xids in either the RM log (when called by XARecoveryModule) or
the JCA subordinate tx log (when called internally from this class) which have or have not got a
remaining transaction that may still drive them to completion.
|
Modifier and Type | Method and Description |
---|---|
Xid[] |
BridgeXAResource.recover(int flag)
Obtains a list of prepared transaction branches from a resource manager.
|
Modifier and Type | Method and Description |
---|---|
void |
BridgeXAResource.commit(Xid xid,
boolean onePhase)
Commits the global transaction specified by xid.
|
void |
BridgeXAResource.end(Xid xid,
int flags)
Ends the work performed on behalf of a transaction branch.
|
void |
BridgeXAResource.forget(Xid xid) |
int |
BridgeXAResource.prepare(Xid xid)
Ask the resource manager to prepare for a transaction commit of the transaction specified in xid.
|
void |
BridgeXAResource.rollback(Xid xid)
Informs the resource manager to roll back work done on behalf of a transaction branch.
|
void |
BridgeXAResource.start(Xid xid,
int flags)
Starts work on behalf of a transaction branch specified in xid.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.