public class SubordinateAtomicTransaction extends AtomicTransaction
_theAction, _theStatus, _timeout, NESTED, TOP_LEVEL
Constructor and Description |
---|
SubordinateAtomicTransaction(ControlWrapper tx) |
Modifier and Type | Method and Description |
---|---|
void |
abort()
Does not change thread-to-tx association as base class rollback does.
|
protected boolean |
checkForCurrent()
By default the BasicAction class only allows the termination of a
transaction if it's the one currently associated with the thread.
|
boolean |
doBeforeCompletion() |
int |
doCommit() |
void |
doForget() |
int |
doOnePhaseCommit() |
int |
doPrepare() |
int |
doRollback() |
void |
end(boolean report_heuristics)
Does not change thread-to-tx association as base class commit does.
|
get_xid, getControlWrapper
begin, commit, control, equals, finalize, get_status, get_timeout, get_transaction_name, get_txcontext, get_uid, getStatus, getTimeout, hashCode, registerResource, registerSubtranAware, registerSynchronization, resume, rollback, rollbackOnly, set_timeout, suspend, validTransaction
public SubordinateAtomicTransaction(ControlWrapper tx)
public void end(boolean report_heuristics) throws NoTransaction, HeuristicMixed, HeuristicHazard, WrongTransaction, SystemException
end
in class AtomicTransaction
NoTransaction
HeuristicMixed
HeuristicHazard
WrongTransaction
SystemException
public void abort() throws NoTransaction, WrongTransaction, SystemException
abort
in class AtomicTransaction
NoTransaction
WrongTransaction
SystemException
public int doPrepare() throws SystemException
SystemException
public int doCommit() throws SystemException
SystemException
public int doRollback() throws SystemException
SystemException
public int doOnePhaseCommit() throws SystemException
SystemException
public void doForget() throws SystemException
SystemException
public boolean doBeforeCompletion() throws SystemException
SystemException
protected boolean checkForCurrent()
false
to indicate that this transaction can only
be terminated by the right thread.Copyright © 2021 JBoss by Red Hat. All rights reserved.