|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.arjuna.ats.arjuna.StateManager com.arjuna.ats.arjuna.coordinator.BasicAction com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator com.arjuna.ats.arjuna.AtomicAction org.jboss.jbossts.star.resource.Transaction
public class Transaction
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 | |
---|---|
Transaction()
|
|
Transaction(String initiator)
|
Method Summary | |
---|---|
String |
enlistParticipant(String coordinatorUrl,
String participantUrl,
String terminateUrl,
String recoveryUrlBase)
|
boolean |
forgetParticipant(String participantUrl)
|
String |
getAge()
|
String |
getInitiator()
|
void |
getParticipants(Collection<String> enlistmentIds)
|
String |
getRecoveryUrl()
|
String |
getStatus()
|
String |
getStatus(int status)
|
boolean |
hasHeuristic()
|
boolean |
isAborted()
|
boolean |
isAlive()
|
boolean |
isEnlisted(String participantUrl)
Determine whether a participant is enlisted in this transaction and the commitment is not running. |
boolean |
isFinished()
|
boolean |
isFinishing()
|
boolean |
isRunning()
|
void |
setFault(String fault)
|
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 |
---|
public Transaction()
public Transaction(String initiator)
Method Detail |
---|
public String getInitiator()
public String getAge()
public String getStatus()
public String getStatus(int status)
public String getRecoveryUrl()
public String enlistParticipant(String coordinatorUrl, String participantUrl, String terminateUrl, String recoveryUrlBase)
public boolean isEnlisted(String participantUrl)
participantUrl
- the participant url to search for
public boolean forgetParticipant(String participantUrl)
public void getParticipants(Collection<String> enlistmentIds)
public void setFault(String fault)
public boolean isFinished()
public boolean isFinishing()
public boolean isAlive()
public boolean isRunning()
public boolean hasHeuristic()
public boolean isAborted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |