public class RecoveredTransactionWrapper extends RecoveredTransaction implements ActionBeanWrapperInterface
_originalProcessUid
controlHandle, parentTransaction
failedList, heuristicList, pendingList, preparedList, readonlyList, savedIntentionList
modifyingActions, objectModel, objectUid, usingActions
Constructor and Description |
---|
RecoveredTransactionWrapper() |
RecoveredTransactionWrapper(ActionBean action,
UidWrapper w) |
RecoveredTransactionWrapper(Uid uid) |
Modifier and Type | Method and Description |
---|---|
boolean |
activate()
Overloaded version of activate -- sets up the store, performs read_state
followed by restore_state.
|
void |
clearHeuristicDecision(int newDecision) |
void |
doUpdateState() |
BasicAction |
getAction() |
RecordList |
getRecords(ParticipantStatus type) |
Uid |
getUid(AbstractRecord rec) |
void |
register() |
void |
remove(LogRecordWrapper logRecordWrapper) |
StringBuilder |
toString(String prefix,
StringBuilder sb) |
String |
type()
Overloads BasicAction.type()
|
void |
unregister() |
addResourceRecord, allCompleted, assumeComplete, get_status, getLastActiveTime, getOriginalStatus, getRecoveryStatus, packHeader, removeOldStoreEntry, replayPhase2, save_state, unpackHeader
commit, create_subtransaction, createOTSRecord, createOTSRecord, destroyAction, doAfterCompletion, doBeforeCompletion, equals, finalize, forgetHeuristics, get_parent_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, register_synchronization, rollback_only, rollback, setControlHandle, topLevelUid, toString, typeName, uid
addSynchronization, afterCompletion, afterCompletion, asyncAfterCompletion, beforeCompletion, cancel, end, getDeferredThrowable, running, start, start
Abort, Abort, abortStatus, 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, getSavingUid, getStore, hashCode, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preparedStatus, preventCommit, removeChildAction, removeChildThread, removeChildThread, restore_state, setCheckedAction, setHeuristicDecision, status, topLevelAction, topLevelActionUid, typeOfAction, updateHeuristic, updateState
cleanup, createLists, deactivate, deactivate, disable, forgetAction, get_uid, getMutex, getObjectModel, getStoreRoot, loadObjectState, lockMutex, modified, objectType, persist, print, rememberAction, setStatus, setupStore, setupStore, setupStore, terminate, tryLockMutex, unlockMutex
get_uid
get_uid, preventCommit
public RecoveredTransactionWrapper()
public RecoveredTransactionWrapper(Uid uid)
public RecoveredTransactionWrapper(ActionBean action, UidWrapper w)
public boolean activate()
BasicAction
null
.activate
in interface ActionBeanWrapperInterface
activate
in class BasicAction
true
if successful, false
otherwise.ObjectStore
public String type()
TwoPhaseCoordinator
type
in class RecoveredTransaction
public void doUpdateState()
doUpdateState
in interface ActionBeanWrapperInterface
public Uid getUid(AbstractRecord rec)
getUid
in interface ActionBeanWrapperInterface
public void register()
public void unregister()
public RecordList getRecords(ParticipantStatus type)
getRecords
in interface ActionBeanWrapperInterface
public StringBuilder toString(String prefix, StringBuilder sb)
toString
in interface ActionBeanWrapperInterface
public BasicAction getAction()
getAction
in interface ActionBeanWrapperInterface
public void clearHeuristicDecision(int newDecision)
clearHeuristicDecision
in interface ActionBeanWrapperInterface
public void remove(LogRecordWrapper logRecordWrapper)
remove
in interface ActionBeanWrapperInterface
Copyright © 2021 JBoss by Red Hat. All rights reserved.