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) |
org.slf4j.Logger |
getLog() |
TransactionId |
getTransactionId() |
int |
prepare() |
void |
rollback() |
addSynchronization, doPostCommit, doPreCommit, fireAfterCommit, fireAfterRollback, fireBeforeCommit, getState, isPrepared, prePrepare, removeSynchronization, setState, size, toString, waitPostCommitDone
public LocalTransaction(TransactionStore transactionStore, LocalTransactionId xid, ConnectionContext context)
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
prepare
in class Transaction
XAException
public TransactionId getTransactionId()
getTransactionId
in class Transaction
public org.slf4j.Logger getLog()
getLog
in class Transaction
Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.