public interface Transactable
Modifier and Type | Method and Description |
---|---|
TransactionId |
beginTransaction()
Create new transaction entry.
|
void |
commit(TransactionId trxId)
Submit the transaction
|
void |
rollback(TransactionId trxId)
Revert the transaction
|
TransactionId beginTransaction()
void commit(TransactionId trxId)
trxId
- The unique identifier of the transaction which should be submitted.void rollback(TransactionId trxId)
trxId
- The unique identifier of the transaction which should be reverted.Copyright © 2015. All rights reserved.