final class RAMTransactionContext extends ContextImpl
Modifier and Type | Field and Description |
---|---|
private boolean |
abortAll
true if any exception causes this transaction to be destroyed
|
private RAMTransaction |
transaction
The transaction this context is managing.
|
Constructor and Description |
---|
RAMTransactionContext(ContextManager cm,
java.lang.String context_id,
RAMTransaction theTransaction,
boolean abortAll) |
Modifier and Type | Method and Description |
---|---|
void |
cleanupOnError(java.lang.Throwable error)
Handle cleanup processing for this context.
|
(package private) RAMTransaction |
getTransaction() |
(package private) void |
setTransaction(RAMTransaction transaction) |
appendErrorInfo, getContextManager, getIdName, isLastHandler, popMe, pushMe
private RAMTransaction transaction
private final boolean abortAll
RAMTransactionContext(ContextManager cm, java.lang.String context_id, RAMTransaction theTransaction, boolean abortAll) throws StandardException
StandardException
public void cleanupOnError(java.lang.Throwable error) throws StandardException
StandardException
- thrown if cleanup goes awryRAMTransaction getTransaction()
void setTransaction(RAMTransaction transaction)
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.