public class XATransaction extends Transaction
FINISHED_STATE, IN_USE_STATE, postCommitTask, preCommitTask, PREPARED_STATE, START_STATE| Constructor and Description |
|---|
XATransaction(TransactionStore transactionStore,
org.apache.activemq.command.XATransactionId xid,
TransactionBroker broker,
org.apache.activemq.command.ConnectionId connectionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(boolean onePhase) |
org.apache.activemq.command.ConnectionId |
getConnectionId() |
Logger |
getLog() |
org.apache.activemq.command.TransactionId |
getTransactionId() |
org.apache.activemq.command.XATransactionId |
getXid() |
int |
prepare() |
void |
rollback() |
addSynchronization, doPostCommit, doPreCommit, findMatching, fireAfterCommit, fireAfterRollback, fireBeforeCommit, getState, isCommitted, isPrepared, isRollbackOnly, newXAException, prePrepare, removeSynchronization, setCommitted, setRollbackOnly, setState, size, toString, waitPostCommitDonepublic XATransaction(TransactionStore transactionStore, org.apache.activemq.command.XATransactionId xid, TransactionBroker broker, org.apache.activemq.command.ConnectionId connectionId)
public void commit(boolean onePhase) throws XAException, IOException
commit in class TransactionXAExceptionIOExceptionpublic void rollback() throws XAException, IOException
rollback in class TransactionXAExceptionIOExceptionpublic int prepare() throws XAException, IOException
prepare in class TransactionXAExceptionIOExceptionpublic org.apache.activemq.command.ConnectionId getConnectionId()
public org.apache.activemq.command.TransactionId getTransactionId()
getTransactionId in class Transactionpublic Logger getLog()
getLog in class Transactionpublic org.apache.activemq.command.XATransactionId getXid()
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.