com.arjuna.ats.arjuna
Class TopLevelAction

java.lang.Object
  extended by com.arjuna.ats.arjuna.StateManager
      extended by com.arjuna.ats.arjuna.coordinator.BasicAction
          extended by com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator
              extended by com.arjuna.ats.arjuna.AtomicAction
                  extended by com.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 $
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, objectModel, objectUid, usingActions
 
Constructor Summary
TopLevelAction()
           
 
Method Summary
 
Methods inherited from class com.arjuna.ats.arjuna.AtomicAction
abort, addThread, addThread, begin, begin, cancel, checkForCurrent, commit, commit, end, getTimeout, removeThread, removeThread, resume, suspend, type
 
Methods inherited from class com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator
addSynchronization, afterCompletion, afterCompletion, beforeCompletion, getDeferredThrowable, getSynchronizations, 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, End, equals, finalizeInternal, forgetHeuristics, getHeuristicDecision, getHierarchy, getSavingUid, getStore, hashCode, hierarchyDepth, insertRecord, isAncestor, maintainHeuristics, onePhaseCommit, parent, phase2Abort, phase2Cleanup, phase2Commit, prepare, preparedStatus, preventCommit, removeChildAction, removeChildThread, removeChildThread, restore_state, save_state, setCheckedAction, setHeuristicDecision, status, topLevelAction, topLevelActionUid, toString, typeOfAction, updateHeuristic, updateState
 
Methods inherited from class com.arjuna.ats.arjuna.StateManager
cleanup, deactivate, deactivate, disable, forgetAction, get_uid, getMutex, getObjectModel, getStoreRoot, loadObjectState, lockMutex, modified, objectType, packHeader, persist, print, rememberAction, setStatus, setupStore, setupStore, setupStore, terminate, tryLockMutex, unlockMutex, unpackHeader
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.arjuna.ats.arjuna.coordinator.Reapable
get_uid, preventCommit
 

Constructor Detail

TopLevelAction

public TopLevelAction()


Copyright © 2011. All Rights Reserved.