Class RecoverAtomicAction
java.lang.Object
com.arjuna.ats.arjuna.StateManager
com.arjuna.ats.arjuna.coordinator.BasicAction
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator
com.arjuna.ats.arjuna.AtomicAction
com.arjuna.ats.arjuna.recovery.RecoverAtomicAction
- All Implemented Interfaces:
Reapable
-
Field Summary
Fields inherited from class AtomicAction
_timeout, NO_TIMEOUTFields inherited from class BasicAction
failedList, heuristicList, pendingList, preparedList, readonlyList, savedIntentionList, subordinate, threadStackTraceHistoryListFields inherited from class StateManager
modifyingActions, objectModel, objectUid, synchronizationLock, usingActions -
Constructor Summary
ConstructorsConstructorDescriptionRecoverAtomicAction(Uid rcvUid, int theStatus) Re-creates/activates an AtomicAction for the specified transaction Uid. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanvoidReplays phase 2 of the commit protocol.Methods inherited from class AtomicAction
abort, addThread, addThread, begin, begin, cancel, checkForCurrent, commit, commit, end, getTimeout, removeThread, removeThread, resume, suspend, typeMethods inherited from class TwoPhaseCoordinator
addSynchronization, afterCompletion, afterCompletion, asyncAfterCompletion, beforeCompletion, getDeferredThrowable, getSynchronizations, outputCapturedStackTraces, recordStackTraces, running, start, startMethods inherited from class BasicAction
Abort, Abort, abortStatus, activate, activate, activeThreads, add, addChildAction, addChildThread, addChildThread, addRecord, async_prepare, Begin, childTransactions, commitStatus, createStackTraces, criticalEnd, criticalStart, Current, deactivate, destroy, doAbort, doAbort, doCommit, doCommit, doPrepare, End, equals, explicitPhase2Abort, explicitPhase2Commit, explicitPhase2Prepare, finalizeInternal, forgetHeuristics, getDeferredThrowables, getHeuristicDecision, getHierarchy, getSavingUid, getStore, hashCode, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preparedStatus, preventCommit, removeChildAction, removeChildThread, removeChildThread, restore_state, save_state, setCheckedAction, setHeuristicDecision, status, topLevelAction, topLevelActionUid, toString, typeOfAction, updateHeuristic, updateStateMethods inherited from class StateManager
cleanup, createLists, deactivate, deactivate, disable, forgetAction, get_uid, getCreationTimeMillis, getMutex, getObjectModel, getStoreRoot, loadObjectState, lockMutex, modified, objectType, packHeader, persist, print, rememberAction, setStatus, setupStore, setupStore, setupStore, terminate, tryLockMutex, unlockMutex, unpackHeaderMethods inherited from interface Reapable
get_uid, preventCommit
-
Constructor Details
-
RecoverAtomicAction
Re-creates/activates an AtomicAction for the specified transaction Uid.
-
-
Method Details
-
replayPhase2
public void replayPhase2()Replays phase 2 of the commit protocol. -
hasPreparedParticipants
public boolean hasPreparedParticipants() -
hasFailedParticipants
public boolean hasFailedParticipants() -
hasHeuristicParticipants
public boolean hasHeuristicParticipants()
-