public class LocalTransaction extends Transaction
FINISHED_STATE, IN_USE_STATE, postCommitTask, preCommitTask, PREPARED_STATE, START_STATE| Constructor and Description |
|---|
LocalTransaction(TransactionStore transactionStore,
LocalTransactionId xid,
ConnectionContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit(boolean onePhase) |
Logger |
getLog() |
TransactionId |
getTransactionId() |
int |
prepare() |
void |
rollback() |
addSynchronization, doPostCommit, doPreCommit, findMatching, fireAfterCommit, fireAfterRollback, fireBeforeCommit, getState, isCommitted, isPrepared, prePrepare, removeSynchronization, setCommitted, setState, size, toString, waitPostCommitDonepublic LocalTransaction(TransactionStore transactionStore, LocalTransactionId xid, ConnectionContext context)
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
prepare in class TransactionXAExceptionpublic TransactionId getTransactionId()
getTransactionId in class Transactionpublic Logger getLog()
getLog in class TransactionCopyright © 2005–2015 FuseSource, Corp.. All rights reserved.