public static interface TransactionController.Transaction
This form of transactional execution is strongly discouraged in favor of the various lambda injection forms.
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commit this transaction.
|
void |
rollback()
Rollback this transaction.
|
void commit()
StoreTransactionTimeoutException
- if the transaction has already timed out. This would also lead to an
internal rollback of the transaction.StoreTransactionRuntimeException
- if the internal rollback triggered by the transaction time out itself
fails or if the transaction has already ended.void rollback()
StoreTransactionRuntimeException
- if the transaction has already ended.