public class ServerTransaction extends ServerTransaction
_recoveryCoordinator
controlHandle, parentTransaction
failedList, heuristicList, pendingList, preparedList, readonlyList, savedIntentionList
modifyingActions, objectModel, objectUid, usingActions
Constructor and Description |
---|
ServerTransaction(Uid actId) |
ServerTransaction(Uid actUid,
Xid xid) |
Modifier and Type | Method and Description |
---|---|
static String |
getType() |
Xid |
getXid() |
boolean |
restore_state(InputObjectState os,
int ot)
This assumes the various lists are zero length when it is called.
|
boolean |
save_state(OutputObjectState os,
int ot)
Redefined version of save_state and restore_state from StateManager.
|
String |
type()
Overloads BasicAction.type()
|
doAfterCompletion, doBeforeCompletion, doCommit, doForget, doPhase2Abort, doPhase2Commit, doPrepare, finalize, getSavingUid, preparedStatus, register_synchronization, rollback, setRecoveryCoordinator, toString, typeName
commit, create_subtransaction, createOTSRecord, createOTSRecord, destroyAction, equals, forgetHeuristics, get_parent_status, get_status, get_top_level_status, get_transaction_name, get_txcontext, getControlHandle, getSynchronizations, hash_top_level_tran, hash_transaction, interpositionType, is_ancestor_transaction, is_descendant_transaction, is_related_transaction, is_same_transaction, is_top_level_transaction, register_resource, register_subtran_aware, rollback_only, setControlHandle, topLevelUid, uid
addSynchronization, afterCompletion, afterCompletion, asyncAfterCompletion, beforeCompletion, cancel, end, getDeferredThrowable, running, start, start
Abort, Abort, abortStatus, activate, activate, activeThreads, add, addChildAction, addChildThread, addChildThread, addRecord, async_prepare, Begin, checkForCurrent, childTransactions, commitStatus, criticalEnd, criticalStart, Current, deactivate, destroy, doAbort, doAbort, doCommit, doCommit, doPrepare, End, finalizeInternal, getDeferredThrowables, getHeuristicDecision, getHierarchy, getStore, hashCode, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preventCommit, removeChildAction, removeChildThread, removeChildThread, setCheckedAction, setHeuristicDecision, status, topLevelAction, topLevelActionUid, 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
get_uid, preventCommit
public ServerTransaction(Uid actId)
public final Xid getXid()
public String type()
TwoPhaseCoordinator
type
in class ServerTransaction
public static final String getType()
public boolean save_state(OutputObjectState os, int ot)
BasicAction
save_state
in class ServerTransaction
true
if successful, false
otherwise.public boolean restore_state(InputObjectState os, int ot)
BasicAction
restore_state
in class ServerTransaction
true
if successful, false
otherwise.Copyright © 2021 JBoss by Red Hat. All rights reserved.