| Modifier and Type | Field and Description |
|---|---|
| private final boolean | abortAll
true if any exception causes this transaction to be destroyed |
| private RAMTransaction | transaction
The transaction this context is managing. |
| Access | Constructor and Description |
|---|---|
| pack-priv | RAMTransactionContext(ContextManager cm, String context_id, RAMTransaction theTransaction, boolean abortAll)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | cleanupOnError(Throwable
The original error error)Implements org. Handle cleanup processing for this context. |
| pack-priv RAMTransaction | |
| pack-priv void |
| abortAll | back to summary |
|---|---|
| private final boolean abortAll true if any exception causes this transaction to be destroyed | |
| transaction | back to summary |
|---|---|
| private RAMTransaction transaction The transaction this context is managing. | |
| RAMTransactionContext | back to summary |
|---|---|
| pack-priv RAMTransactionContext(ContextManager cm, String context_id, RAMTransaction theTransaction, boolean abortAll) throws StandardException | |
| cleanupOnError | back to summary |
|---|---|
| public void cleanupOnError(Throwable error) throws StandardException Implements org. 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.
| |
| getTransaction | back to summary |
|---|---|
| pack-priv RAMTransaction getTransaction() | |
| setTransaction | back to summary |
|---|---|
| pack-priv void setTransaction(RAMTransaction transaction) | |