public class SubordinateAtomicAction extends AtomicAction
NO_TIMEOUTfailedList, heuristicList, pendingList, preparedList, readonlyList, savedIntentionListmodifyingActions, objectModel, objectUid, usingActions| Modifier | Constructor and Description |
|---|---|
|
SubordinateAtomicAction() |
|
SubordinateAtomicAction(int timeout) |
protected |
SubordinateAtomicAction(Uid actId)
For crash recovery purposes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
abort()
Abort (rollback) the transaction.
|
boolean |
activated() |
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.
|
int |
commit()
Commit the transaction, and have heuristic reporting.
|
int |
commit(boolean report_heuristics)
Commit the transaction.
|
boolean |
doBeforeCompletion() |
int |
doCommit() |
void |
doForget()
Deprecated.
Only called via tests
|
int |
doOnePhaseCommit() |
int |
doPrepare() |
int |
doRollback() |
String |
type()
The type of the class is used to locate the state of the transaction log
in the object store.
|
addThread, addThread, begin, begin, cancel, end, getTimeout, removeThread, removeThread, resume, suspendaddSynchronization, afterCompletion, afterCompletion, asyncAfterCompletion, beforeCompletion, getDeferredThrowable, getSynchronizations, running, start, startAbort, abortStatus, activate, activate, activeThreads, add, addChildAction, addChildThread, addChildThread, addRecord, async_prepare, Begin, childTransactions, commitStatus, criticalEnd, criticalStart, Current, deactivate, destroy, doAbort, doAbort, doCommit, doCommit, doPrepare, End, equals, finalizeInternal, forgetHeuristics, getHeuristicDecision, getHierarchy, getSavingUid, getStore, hashCode, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preparedStatus, preventCommit, removeChildAction, removeChildThread, removeChildThread, restore_state, save_state, setCheckedAction, setHeuristicDecision, status, topLevelAction, topLevelActionUid, toString, typeOfAction, updateHeuristic, updateStatecleanup, createLists, deactivate, deactivate, disable, forgetAction, get_uid, getMutex, getObjectModel, getStoreRoot, loadObjectState, lockMutex, modified, objectType, packHeader, persist, print, rememberAction, setStatus, setupStore, setupStore, setupStore, terminate, tryLockMutex, unlockMutex, unpackHeaderclone, finalize, getClass, notify, notifyAll, wait, wait, waitget_uid, preventCommitpublic SubordinateAtomicAction()
public SubordinateAtomicAction(int timeout)
protected SubordinateAtomicAction(Uid actId)
actId - the identifier to recover.public int commit()
commit in class AtomicActionActionStatus indicating outcome.public int commit(boolean report_heuristics)
commit in class AtomicActionActionStatus indicating outcome.public int abort()
abort in class AtomicActionActionStatus indicating outcome.public String type()
type in class AtomicActionpublic int doPrepare()
public int doCommit()
public int doRollback()
public int doOnePhaseCommit()
public void doForget()
public boolean doBeforeCompletion()
protected boolean checkForCurrent()
checkForCurrent in class AtomicActionfalse to indicate that this transaction can only
be terminated by the right thread.public boolean activated()
Copyright © 2014 JBoss by Red Hat. All rights reserved.