Class RecoverySubordinateATCoordinator
java.lang.Object
com.arjuna.ats.arjuna.StateManager
com.arjuna.ats.arjuna.coordinator.BasicAction
com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator
com.arjuna.mwlabs.wscf.model.twophase.arjunacore.ATCoordinator
com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator
org.jboss.jbossts.xts.recovery.coordinator.at.RecoverySubordinateATCoordinator
- All Implemented Interfaces:
Reapable
public class RecoverySubordinateATCoordinator
extends com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator
This class is a plug-in module for the recovery manager.
It is responsible for recovering failed WSAT ACCoordinator transactions.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator
com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator.SubordinateCallback
-
Field Summary
Fields inherited from class com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator
PARTICIPANT_PREFIX, SUBORDINATE_TX_TYPE_AT_AT, TRANSACTION_TYPE
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
ConstructorDescriptionRecoverySubordinateATCoordinator
(Uid rcvUid) Re-creates/activates an AtomicAction for the specified transaction Uid. -
Method Summary
Modifier and TypeMethodDescriptionboolean
activate()
run parent activate and also make this coordinator visible if there might be a durable participant waiting for it to commit.void
Replays phase 2 of the commit protocol.Methods inherited from class com.arjuna.mwlabs.wscf.model.twophase.arjunacore.subordinate.SubordinateATCoordinator
addActiveProxy, addCallback, addRecoveredCoordinator, cancel, commit, commitVolatile, coordinate, end, error, getDurable2PhaseId, getRecoveredCoordinator, getSubordinateType, getVolatile2PhaseId, isActivated, isOrphaned, listRecoveredCoordinators, prepare, prepareVolatile, removeActiveProxy, removeRecoveredCoordinator, restore_state, rollback, rollbackVolatile, save_state, setActivated, type, unknown
Methods inherited from class com.arjuna.mwlabs.wscf.model.twophase.arjunacore.ATCoordinator
delistParticipant, delistSynchronization, enlistParticipant, enlistSynchronization, identifier, participantReadOnly, participantRolledBack, qualifiers
Methods inherited from class com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator
addSynchronization, afterCompletion, afterCompletion, asyncAfterCompletion, beforeCompletion, getDeferredThrowable, getSynchronizations, 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, equals, finalizeInternal, forgetHeuristics, getDeferredThrowables, getHeuristicDecision, getHierarchy, getSavingUid, getStore, hashCode, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preparedStatus, preventCommit, removeChildAction, removeChildThread, removeChildThread, setCheckedAction, setHeuristicDecision, status, topLevelAction, topLevelActionUid, toString, 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, packHeader, persist, print, rememberAction, setStatus, setupStore, setupStore, setupStore, terminate, tryLockMutex, unlockMutex, unpackHeader
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.arjuna.ats.arjuna.coordinator.Reapable
get_uid, preventCommit
-
Constructor Details
-
RecoverySubordinateATCoordinator
Re-creates/activates an AtomicAction for the specified transaction Uid.
-
-
Method Details
-
activate
public boolean activate()run parent activate and also make this coordinator visible if there might be a durable participant waiting for it to commit.- Overrides:
activate
in classBasicAction
- Returns:
- whether the coordinator can be activated
- See Also:
-
replayPhase2
public void replayPhase2()Replays phase 2 of the commit protocol.
-