public class RecoveredTransactionalObject extends StateManager
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).
modifyingActions, objectModel, objectUid, usingActions
Modifier | Constructor and Description |
---|---|
protected |
RecoveredTransactionalObject(Uid objectUid,
String originalType,
ParticipantStore participantStore) |
Modifier and Type | Method and Description |
---|---|
protected void |
replayPhase2() |
activate, activate, cleanup, createLists, deactivate, deactivate, deactivate, destroy, disable, forgetAction, get_uid, 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
protected RecoveredTransactionalObject(Uid objectUid, String originalType, ParticipantStore participantStore)
Copyright © 2021 JBoss by Red Hat. All rights reserved.