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.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.jboss.ejb.client | |
org.jboss.ejb.client.remoting | |
org.jboss.jbossts.txbridge.inbound | |
org.jboss.jbossts.txbridge.outbound | |
org.jboss.resource.adapter.jms |
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 | Method and Description |
---|---|
Xid[] |
DelegatingSession.recover(int flag) |
Modifier and Type | Method and Description |
---|---|
void |
DelegatingSession.commit(Xid xid,
boolean onePhase) |
void |
DelegatingSession.end(Xid xid,
int flags) |
void |
DelegatingSession.forget(Xid xid) |
int |
DelegatingSession.prepare(Xid xid) |
void |
DelegatingSession.rollback(Xid xid) |
void |
DelegatingSession.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() |
Xid |
SessionXAAfterFailedMessage.getXid() |
Modifier and Type | Method and Description |
---|---|
List<Xid> |
SessionXAGetInDoubtXidsResponseMessage.getXids() |
Constructor and Description |
---|
SessionXAAfterFailedMessage(Xid xid) |
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 |
HornetQServerLogger.errorTimingOutTX(Exception e,
Xid xid) |
void |
HornetQServerLogger.unexpectedXid(Xid xid) |
void |
ServerSession.xaCommit(Xid xid,
boolean onePhase) |
void |
ServerSession.xaEnd(Xid xid) |
void |
ServerSession.xaFailed(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.xaFailed(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 |
---|---|
Xid |
XidTransactionID.getXid()
Get the corresponding XID for this transaction.
|
protected Xid[] |
EJBReceiver.sendRecover(EJBReceiverContext receiverContext,
String txParentNodeName,
int recoveryFlags)
Send a transaction recover message with the
recoveryFlags . |
Modifier and Type | Method and Description |
---|---|
boolean |
XidTransactionID.isSameXid(Xid xid)
Determine whether the given Xid is the same as this Xid.
|
Constructor and Description |
---|
XidTransactionID(Xid original) |
Modifier and Type | Method and Description |
---|---|
protected Xid[] |
RemotingConnectionEJBReceiver.sendRecover(EJBReceiverContext receiverContext,
String txParentNodeName,
int recoveryFlags) |
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.
|
Modifier and Type | Method and Description |
---|---|
Xid[] |
JmsXAResource.recover(int flag) |
Modifier and Type | Method and Description |
---|---|
void |
JmsXAResource.commit(Xid xid,
boolean onePhase) |
void |
JmsXAResource.end(Xid xid,
int flags) |
void |
JmsXAResource.forget(Xid xid) |
int |
JmsXAResource.prepare(Xid xid) |
void |
JmsXAResource.rollback(Xid xid) |
void |
JmsXAResource.start(Xid xid,
int flags) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.