public class XATransaction extends Transaction
FINISHED_STATE, IN_USE_STATE, postCommitTask, preCommitTask, PREPARED_STATE, START_STATE
Constructor and Description |
---|
XATransaction(TransactionStore transactionStore,
XATransactionId xid,
TransactionBroker broker,
ConnectionId connectionId) |
Modifier and Type | Method and Description |
---|---|
void |
commit(boolean onePhase) |
ConnectionId |
getConnectionId() |
org.slf4j.Logger |
getLog() |
TransactionId |
getTransactionId() |
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, waitPostCommitDone
public XATransaction(TransactionStore transactionStore, XATransactionId xid, TransactionBroker broker, ConnectionId connectionId)
public void commit(boolean onePhase) throws XAException, IOException
commit
in class Transaction
XAException
IOException
public void rollback() throws XAException, IOException
rollback
in class Transaction
XAException
IOException
public int prepare() throws XAException, IOException
prepare
in class Transaction
XAException
IOException
public ConnectionId getConnectionId()
public TransactionId getTransactionId()
getTransactionId
in class Transaction
public org.slf4j.Logger getLog()
getLog
in class Transaction
public XATransactionId getXid()
Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.