Class CachedRecoveredTransaction
java.lang.Object
com.arjuna.ats.internal.jts.recovery.transactions.CachedRecoveredTransaction
Any transaction that is identified by the recovery system to
require recovery is manipulated through
CachedRecoveredTransactions. CachedRecoveredTransactions delegate
through to a static transaction cache which ensures that there is
no interference between different threads that may be working with
the same transaction
- Version:
- $Id: CachedRecoveredTransaction.java 2342 2006-03-30 13:06:17Z $
- Author:
- Dave Ingham (dave@arjuna.com)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResourceRecord
(Uid rcUid, Resource r) Add a new resource to a recovered transaction.Get the status of the transactionint
Get the recovery status of the transactionvoid
Replays phase 2 of the transaction.
-
Constructor Details
-
CachedRecoveredTransaction
-
-
Method Details
-
getTransactionUid
-
get_status
Get the status of the transaction- Throws:
org.omg.CORBA.SystemException
-
getRecoveryStatus
public int getRecoveryStatus()Get the recovery status of the transaction -
addResourceRecord
Add a new resource to a recovered transaction. This is primarily to allow a new resource that has been provided through a replay_completion to be added to the transaction and thereby replacing the original resource that was passed in on register_resource. -
replayPhase2
public void replayPhase2()Replays phase 2 of the transaction.
-