Class RecoveredTransactionWrapper
java.lang.Object
com.arjuna.ats.arjuna.StateManager
com.arjuna.ats.arjuna.coordinator.BasicAction
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator
com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple
com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction
com.arjuna.ats.internal.jta.tools.osb.mbean.jts.RecoveredTransactionWrapper
- All Implemented Interfaces:
ArjunaTransactionOperations
,UidCoordinatorOperations
,Reapable
,ActionBeanWrapperInterface
,RecoveringTransaction
,CoordinatorOperations
,TerminatorOperations
public class RecoveredTransactionWrapper
extends RecoveredTransaction
implements ActionBeanWrapperInterface
-
Field Summary
Fields inherited from class com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction
_originalProcessUid
Fields inherited from class com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple
controlHandle, parentTransaction
Fields inherited from class com.arjuna.ats.arjuna.coordinator.BasicAction
failedList, heuristicList, pendingList, preparedList, readonlyList, savedIntentionList, subordinate, threadStackTraceHistoryList
Fields inherited from class com.arjuna.ats.arjuna.StateManager
modifyingActions, objectModel, objectUid, synchronizationLock, usingActions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
activate()
Overloaded version of activate -- sets up the store, performs read_state followed by restore_state.void
clearHeuristicDecision
(int newDecision) void
getRecords
(ParticipantStatus type) getUid
(AbstractRecord rec) void
register()
void
remove
(LogRecordWrapper logRecordWrapper) toString
(String prefix, StringBuilder sb) type()
Overloads BasicAction.type()void
Methods inherited from class com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransaction
addResourceRecord, allCompleted, assumeComplete, get_status, getLastActiveTime, getOriginalStatus, getRecoveryStatus, packHeader, removeOldStoreEntry, replayPhase2, save_state, unpackHeader
Methods inherited from class com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple
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, rollback_only, setControlHandle, topLevelUid, toString, typeName, uid
Methods inherited from class com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator
addSynchronization, afterCompletion, afterCompletion, asyncAfterCompletion, beforeCompletion, cancel, end, getDeferredThrowable, outputCapturedStackTraces, recordStackTraces, running, start, start
Methods inherited from class com.arjuna.ats.arjuna.coordinator.BasicAction
Abort, Abort, abortStatus, activate, activeThreads, add, addChildAction, addChildThread, addChildThread, addRecord, async_prepare, Begin, checkForCurrent, childTransactions, commitStatus, createStackTraces, criticalEnd, criticalStart, Current, deactivate, destroy, doAbort, doAbort, doCommit, doCommit, doPrepare, End, finalizeInternal, getDeferredThrowables, getHeuristicDecision, getHierarchy, getSavingUid, getStore, hashCode, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preparedStatus, preventCommit, removeChildAction, removeChildThread, removeChildThread, restore_state, setCheckedAction, setHeuristicDecision, status, topLevelAction, topLevelActionUid, typeOfAction, updateHeuristic, updateState
Methods inherited from class com.arjuna.ats.arjuna.StateManager
cleanup, createLists, deactivate, deactivate, disable, forgetAction, get_uid, getCreationTimeMillis, getMutex, getObjectModel, getStoreRoot, loadObjectState, lockMutex, modified, objectType, persist, print, rememberAction, setStatus, setupStore, setupStore, setupStore, terminate, tryLockMutex, unlockMutex
Methods inherited from interface com.arjuna.ats.arjuna.tools.osb.mbean.ActionBeanWrapperInterface
get_uid
Methods inherited from interface com.arjuna.ats.arjuna.coordinator.Reapable
get_uid, preventCommit
-
Constructor Details
-
RecoveredTransactionWrapper
public RecoveredTransactionWrapper() -
RecoveredTransactionWrapper
-
RecoveredTransactionWrapper
-
-
Method Details
-
activate
public boolean activate()Description copied from class:BasicAction
Overloaded version of activate -- sets up the store, performs read_state followed by restore_state. The store root isnull
.- Specified by:
activate
in interfaceActionBeanWrapperInterface
- Overrides:
activate
in classBasicAction
- Returns:
true
if successful,false
otherwise.- See Also:
-
type
Description copied from class:TwoPhaseCoordinator
Overloads BasicAction.type()- Specified by:
type
in interfaceRecoveringTransaction
- Overrides:
type
in classRecoveredTransaction
-
doUpdateState
public void doUpdateState()- Specified by:
doUpdateState
in interfaceActionBeanWrapperInterface
-
getUid
- Specified by:
getUid
in interfaceActionBeanWrapperInterface
-
register
public void register() -
unregister
public void unregister() -
getRecords
- Specified by:
getRecords
in interfaceActionBeanWrapperInterface
-
toString
- Specified by:
toString
in interfaceActionBeanWrapperInterface
-
getAction
- Specified by:
getAction
in interfaceActionBeanWrapperInterface
-
clearHeuristicDecision
public void clearHeuristicDecision(int newDecision) - Specified by:
clearHeuristicDecision
in interfaceActionBeanWrapperInterface
-
remove
- Specified by:
remove
in interfaceActionBeanWrapperInterface
-