Context
final class RAMTransactionContext extends ContextImpl
Modifier and Type | Field | Description |
---|---|---|
private boolean |
abortAll |
true if any exception causes this transaction to be destroyed
|
private RAMTransaction |
transaction |
The transaction this context is managing.
|
Constructor | Description |
---|---|
RAMTransactionContext(ContextManager cm,
java.lang.String context_id,
RAMTransaction theTransaction,
boolean abortAll) |
Modifier and Type | Method | 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.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.