Class RecoverConnectableAtomicAction
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.internal.jta.recovery.arjunacore.RecoverConnectableAtomicAction
- All Implemented Interfaces:
Reapable
-
Field Summary
Fields inherited from class com.arjuna.ats.arjuna.AtomicAction
_timeout, NO_TIMEOUT
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
ConstructorDescriptionRecoverConnectableAtomicAction
(String type, Uid rcvUid, InputObjectState os) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getXid()
type()
The type of the class is used to locate the state of the transaction log in the object store.void
updateCommitMarkableResourceRecord
(boolean committed) boolean
Methods inherited from class com.arjuna.ats.arjuna.AtomicAction
abort, addThread, addThread, begin, begin, cancel, checkForCurrent, commit, commit, end, getTimeout, removeThread, removeThread, resume, suspend
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, 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, 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, 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
-
Field Details
-
ATOMIC_ACTION_TYPE
-
CONNECTABLE_ATOMIC_ACTION_TYPE
-
-
Constructor Details
-
RecoverConnectableAtomicAction
public RecoverConnectableAtomicAction(String type, Uid rcvUid, InputObjectState os) throws ObjectStoreException, IOException - Throws:
ObjectStoreException
IOException
-
-
Method Details
-
type
Description copied from class:AtomicAction
The type of the class is used to locate the state of the transaction log in the object store. Overloads BasicAction.type()- Overrides:
type
in classAtomicAction
- Returns:
- a string representation of the hierarchy of the class for storing logs in the transaction object store.
-
containsIncompleteCommitMarkableResourceRecord
public boolean containsIncompleteCommitMarkableResourceRecord() -
getCommitMarkableResourceJndiName
-
getXid
-
updateCommitMarkableResourceRecord
public void updateCommitMarkableResourceRecord(boolean committed) -
wasConfirmedCommitted
public boolean wasConfirmedCommitted()
-