Class TopLevelAction
- All Implemented Interfaces:
Reapable
This class provides a (nested) top-level transaction. So, no matter how
deeply nested a thread may be within a transaction hierarchy, creating an
instance of this class will always start a new top-level transaction. Derived
from AtomicAction so we can get the action-to-thread tracking.
- Since:
- JTS 1.0.
- Version:
- $Id: TopLevelAction.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
Field Summary
Fields inherited from class AtomicAction
_timeout, NO_TIMEOUTFields inherited from class BasicAction
failedList, heuristicList, pendingList, preparedList, readonlyList, savedIntentionList, subordinate, threadStackTraceHistoryListFields inherited from class StateManager
modifyingActions, objectModel, objectUid, synchronizationLock, usingActions -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AtomicAction
abort, addThread, addThread, begin, begin, cancel, checkForCurrent, commit, commit, end, getTimeout, removeThread, removeThread, resume, suspend, typeMethods inherited from class TwoPhaseCoordinator
addSynchronization, afterCompletion, afterCompletion, asyncAfterCompletion, beforeCompletion, getDeferredThrowable, getSynchronizations, outputCapturedStackTraces, recordStackTraces, running, start, startMethods inherited from class 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, explicitPhase2Abort, explicitPhase2Commit, explicitPhase2Prepare, 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, updateStateMethods inherited from class 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, unpackHeaderMethods inherited from interface Reapable
get_uid, preventCommit
-
Constructor Details
-
TopLevelAction
public TopLevelAction()
-