Class RecoveredTransactionalObject
java.lang.Object
com.arjuna.ats.arjuna.StateManager
com.arjuna.ats.internal.txoj.recovery.RecoveredTransactionalObject
TransactionalObject shell instantiated at recovery time.
Instantiated only for TransactionalObjects that are found (by
TORecoveryModule
) to be in an uncommitted (indeterminate) state. The
status of the transaction that created the uncommitted state is determined -
if the transaction rolled back, the original state of the TransactionalObject
is reinstated. If the transaction rolled back (or is still in progress), no
change is made - the completion (including completion in recovery) of the
transaction will be applied to the transactional object (eventually).
Instantiation from the ObjectStore ignores all of the TO except for the
information in the header ( see
StateManager.packHeader
), which is overridden by this class).
- Version:
- $Id: RecoveredTransactionalObject.java 2342 2006-03-30 13:06:17Z $
- Author:
- Peter Furniss (peter.furniss@arjuna.com), Mark Little (mark_little@hp.com)
-
Field Summary
Fields inherited from class com.arjuna.ats.arjuna.StateManager
modifyingActions, objectModel, objectUid, synchronizationLock, usingActions
-
Constructor Summary
ModifierConstructorDescriptionprotected
RecoveredTransactionalObject
(Uid objectUid, String originalType, ParticipantStore participantStore) -
Method Summary
Methods inherited from class com.arjuna.ats.arjuna.StateManager
activate, activate, cleanup, createLists, deactivate, deactivate, deactivate, destroy, disable, forgetAction, get_uid, getCreationTimeMillis, getMutex, getObjectModel, getStore, getStoreRoot, loadObjectState, lockMutex, modified, objectType, packHeader, persist, print, rememberAction, restore_state, save_state, setStatus, setupStore, setupStore, setupStore, status, terminate, tryLockMutex, type, unlockMutex, unpackHeader
-
Constructor Details
-
RecoveredTransactionalObject
protected RecoveredTransactionalObject(Uid objectUid, String originalType, ParticipantStore participantStore)
-
-
Method Details
-
replayPhase2
protected final void replayPhase2()
-