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 Details

    • replayPhase2

      void replayPhase2()
      only in Recovered{Server}Transaction
    • getRecoveryStatus

      int getRecoveryStatus()
      only in Recovered{Server}Transaction
    • addResourceRecord

      void addResourceRecord(Uid rcUid, Resource r)
    • get_status

      Status get_status() throws org.omg.CORBA.SystemException
      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)