Class RAMTransactionContext

java.lang.Object
org.apache.derby.iapi.services.context.ContextImpl
org.apache.derby.impl.store.access.RAMTransactionContext
All Implemented Interfaces:
Context

final class RAMTransactionContext extends ContextImpl
  • Field Details

    • transaction

      private RAMTransaction transaction
      The transaction this context is managing.
    • abortAll

      private final boolean abortAll
      true if any exception causes this transaction to be destroyed
  • Constructor Details

  • Method Details

    • cleanupOnError

      public void cleanupOnError(Throwable error) throws StandardException
      Handle cleanup processing for this context. The resources associated with a transaction are the open controllers. Cleanup involves closing them at the appropriate time. Rollback of the underlying transaction is handled by the raw store.
      Throws:
      StandardException - thrown if cleanup goes awry
    • getTransaction

      RAMTransaction getTransaction()
    • setTransaction

      void setTransaction(RAMTransaction transaction)