Interface RecoveringTransaction
- All Known Implementing Classes:
AssumedCompleteHeuristicServerTransaction
,AssumedCompleteHeuristicTransaction
,AssumedCompleteServerTransaction
,AssumedCompleteTransaction
,RecoveredServerTransaction
,RecoveredServerTransaction
,RecoveredTransaction
,RecoveredTransactionWrapper
public interface RecoveringTransaction
interface for cachable recoveredtransactions
Needed because the different types of recovered transaction inherit from
(non-recovery) base types by different routes
used by @{link TransactionCache}
Some methods are present only in the Recovered[*]Transactions.
Some are present in all the base types
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResourceRecord
(Uid rcUid, Resource r) boolean
boolean
Tell transaction it is assumed to be complete and should convert itself to the appropriate assumed complete type.present in both base classes OTS_Transaction and OTS_ServerTransactionWhen was the transaction last attempted.int
only in Recovered{Server}Transactionvoid
void
only in Recovered{Server}Transactiontype()
-
Method Details
-
replayPhase2
void replayPhase2()only in Recovered{Server}Transaction -
getRecoveryStatus
int getRecoveryStatus()only in Recovered{Server}Transaction -
addResourceRecord
-
get_status
present in both base classes OTS_Transaction and OTS_ServerTransaction- Throws:
org.omg.CORBA.SystemException
-
getOriginalStatus
Status getOriginalStatus() -
allCompleted
boolean allCompleted() -
assumeComplete
boolean assumeComplete()Tell transaction it is assumed to be complete and should convert itself to the appropriate assumed complete type. -
removeOldStoreEntry
void removeOldStoreEntry() -
type
String type() -
getLastActiveTime
Date getLastActiveTime()When was the transaction last attempted. Only used for assumed complete transactions (so perhaps it ought to be in another interface)
-