Class RecoveredTransactionalObject

java.lang.Object
com.arjuna.ats.arjuna.StateManager
com.arjuna.ats.internal.txoj.recovery.RecoveredTransactionalObject

public class RecoveredTransactionalObject extends StateManager
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)
  • Constructor Details

    • RecoveredTransactionalObject

      protected RecoveredTransactionalObject(Uid objectUid, String originalType, ParticipantStore participantStore)
  • Method Details

    • replayPhase2

      protected final void replayPhase2()