com.arjuna.ats.arjuna
Class TopLevelAction

java.lang.Object
  extended bycom.arjuna.ats.arjuna.StateManager
      extended bycom.arjuna.ats.arjuna.coordinator.BasicAction
          extended bycom.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator
              extended bycom.arjuna.ats.arjuna.AtomicAction
                  extended bycom.arjuna.ats.arjuna.TopLevelAction
All Implemented Interfaces:
Reapable

public class TopLevelAction
extends AtomicAction

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 nmcl $
Author:
Mark Little (mark@arjuna.com)

Field Summary
 
Fields inherited from class com.arjuna.ats.arjuna.AtomicAction
NO_TIMEOUT
 
Fields inherited from class com.arjuna.ats.arjuna.coordinator.BasicAction
failedList, heuristicList, pendingList, preparedList, readonlyList, savedIntentionList
 
Fields inherited from class com.arjuna.ats.arjuna.StateManager
modifyingActions, objectName, objectUid, smAttributes, usingActions
 
Constructor Summary
TopLevelAction()
           
 
Methods inherited from class com.arjuna.ats.arjuna.AtomicAction
abort, addThread, addThread, begin, begin, checkForCurrent, commit, commit, finalize, getTimeout, removeThread, removeThread, resume, suspend, type
 
Methods inherited from class com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator
addSynchronization, afterCompletion, beforeCompletion, cancel, end, running, start, start
 
Methods inherited from class com.arjuna.ats.arjuna.coordinator.BasicAction
Abort, abortStatus, activate, activate, activeThreads, add, addChildAction, addChildThread, addChildThread, addRecord, Begin, childTransactions, commitStatus, criticalEnd, criticalStart, Current, deactivate, destroy, doAbort, doAbort, doCommit, doCommit, doPrepare, doPrepare, End, equals, forgetHeuristics, getHeuristicDecision, getHierarchy, getSavingUid, getStore, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preparedStatus, preventCommit, removeChildAction, removeChildThread, removeChildThread, restore_state, save_state, setCheckedAction, status, store, topLevelAction, topLevelActionUid, toString, typeOfAction, updateHeuristic, updateState
 
Methods inherited from class com.arjuna.ats.arjuna.StateManager
attributes, cleanup, deactivate, deactivate, disable, forgetAction, get_uid, getMutex, getStoreRoot, loadObjectState, lockMutex, modified, ObjectType, packHeader, persist, print, rememberAction, setStatus, setupStore, setupStore, terminate, tryLockMutex, unlockMutex, unpackHeader
 
Methods inherited from class java.lang.Object
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.arjuna.ats.arjuna.coordinator.Reapable
get_uid, preventCommit
 

Constructor Detail

TopLevelAction

public TopLevelAction()