public class SubordinateAtomicAction extends SubordinateAtomicAction
NO_TIMEOUT
failedList, heuristicList, pendingList, preparedList, readonlyList, savedIntentionList
modifyingActions, objectModel, objectUid, usingActions
Constructor and Description |
---|
SubordinateAtomicAction()
Deprecated.
This is only used by test code
|
SubordinateAtomicAction(int timeout,
Xid xid) |
SubordinateAtomicAction(Uid actId) |
SubordinateAtomicAction(Uid actId,
boolean peekXidOnly) |
Modifier and Type | Method and Description |
---|---|
boolean |
activated() |
String |
getParentNodeName() |
static String |
getType() |
Xid |
getXid() |
boolean |
restore_state(InputObjectState os,
int t)
This assumes the various lists are zero length when it is called.
|
boolean |
save_state(OutputObjectState os,
int t)
Redefined version of save_state and restore_state from StateManager.
|
String |
type()
The type of the class is used to locate the state of the transaction log
in the object store.
|
abort, checkForCurrent, commit, commit, doBeforeCompletion, doCommit, doForget, doOnePhaseCommit, doPrepare, doRollback
addThread, addThread, begin, begin, cancel, end, getTimeout, removeThread, removeThread, resume, suspend
addSynchronization, afterCompletion, afterCompletion, asyncAfterCompletion, beforeCompletion, getDeferredThrowable, getSynchronizations, running, start, start
Abort, Abort, 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, getDeferredThrowables, getHeuristicDecision, getHierarchy, getSavingUid, getStore, hashCode, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preparedStatus, preventCommit, removeChildAction, removeChildThread, removeChildThread, setCheckedAction, setHeuristicDecision, status, topLevelAction, topLevelActionUid, toString, typeOfAction, updateHeuristic, updateState
cleanup, 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, unpackHeader
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
get_uid, preventCommit
public SubordinateAtomicAction()
public SubordinateAtomicAction(Uid actId)
public SubordinateAtomicAction(Uid actId, boolean peekXidOnly) throws ObjectStoreException, IOException
ObjectStoreException
IOException
public SubordinateAtomicAction(int timeout, Xid xid)
public String type()
type
in class SubordinateAtomicAction
public static final String getType()
public final Xid getXid()
public String getParentNodeName()
public boolean save_state(OutputObjectState os, int t)
BasicAction
save_state
in class BasicAction
true
if successful, false
otherwise.public boolean restore_state(InputObjectState os, int t)
BasicAction
restore_state
in class BasicAction
true
if successful, false
otherwise.public boolean activated()
activated
in class SubordinateAtomicAction
Copyright © 2021 JBoss by Red Hat. All rights reserved.