public final class AssumedCompleteHeuristicServerTransaction extends RecoveredServerTransaction
_originalProcessUid_recoveryCoordinatorcontrolHandle, parentTransactionfailedList, heuristicList, pendingList, preparedList, readonlyList, savedIntentionListmodifyingActions, objectModel, objectUid, usingActions| Constructor and Description |
|---|
AssumedCompleteHeuristicServerTransaction(Uid actionUid) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
assumeComplete()
Tell transaction it is assumed to be complete and should convert itself
to the appropriate assumed complete type.
|
Date |
getLastActiveTime()
do not admit to being inactive
|
Status |
getOriginalStatus()
Check the status of this transaction state, i.e., that represented by
get_uid and not getSavingUid
|
boolean |
restore_state(InputObjectState objectState,
int ot)
This assumes the various lists are zero length when it is called.
|
boolean |
save_state(OutputObjectState objectState,
int ot)
Redefined version of save_state and restore_state from StateManager.
|
String |
toString()
Overloads Object.toString()
|
String |
type()
Overloads BasicAction.type()
|
static String |
typeName() |
addResourceRecord, allCompleted, get_status, getRecoveryStatus, packHeader, removeOldStoreEntry, replayPhase2, unpackHeaderdoAfterCompletion, doBeforeCompletion, doCommit, doForget, doPhase2Abort, doPhase2Commit, doPrepare, finalize, getSavingUid, preparedStatus, register_synchronization, rollback, setRecoveryCoordinatorcommit, create_subtransaction, createOTSRecord, createOTSRecord, destroyAction, equals, forgetHeuristics, get_parent_status, get_top_level_status, get_transaction_name, get_txcontext, getControlHandle, getSynchronizations, hash_top_level_tran, hash_transaction, interpositionType, is_ancestor_transaction, is_descendant_transaction, is_related_transaction, is_same_transaction, is_top_level_transaction, register_resource, register_subtran_aware, rollback_only, setControlHandle, topLevelUid, uidaddSynchronization, afterCompletion, afterCompletion, asyncAfterCompletion, beforeCompletion, cancel, end, getDeferredThrowable, running, start, startAbort, Abort, abortStatus, activate, activate, activeThreads, add, addChildAction, addChildThread, addChildThread, addRecord, async_prepare, Begin, checkForCurrent, childTransactions, commitStatus, criticalEnd, criticalStart, Current, deactivate, destroy, doAbort, doAbort, doCommit, doCommit, doPrepare, End, finalizeInternal, getDeferredThrowables, getHeuristicDecision, getHierarchy, getStore, hashCode, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preventCommit, removeChildAction, removeChildThread, removeChildThread, setCheckedAction, setHeuristicDecision, status, topLevelAction, topLevelActionUid, typeOfAction, updateHeuristic, updateStatecleanup, createLists, deactivate, deactivate, disable, forgetAction, get_uid, getMutex, getObjectModel, getStoreRoot, loadObjectState, lockMutex, modified, objectType, persist, print, rememberAction, setStatus, setupStore, setupStore, setupStore, terminate, tryLockMutex, unlockMutexget_uid, preventCommitpublic AssumedCompleteHeuristicServerTransaction(Uid actionUid)
public static String typeName()
public Status getOriginalStatus()
RecoveredServerTransactiongetOriginalStatus in class RecoveredServerTransactionpublic String type()
TwoPhaseCoordinatortype in class RecoveredServerTransactionpublic String toString()
BasicActiontoString in class ServerTransactionpublic boolean assumeComplete()
assumeComplete in class RecoveredServerTransactionpublic Date getLastActiveTime()
RecoveredServerTransactiongetLastActiveTime in class RecoveredServerTransactionpublic boolean restore_state(InputObjectState objectState, int ot)
BasicActionrestore_state in class ServerTransactiontrue if successful, false
otherwise.public boolean save_state(OutputObjectState objectState, int ot)
BasicActionsave_state in class RecoveredServerTransactiontrue if successful, false
otherwise.Copyright © 2016 JBoss by Red Hat. All rights reserved.