Class AerospikeTransaction
java.lang.Object
org.springframework.data.aerospike.transaction.sync.AerospikeTransaction
- All Implemented Interfaces:
Flushable,SmartTransactionObject
A
SmartTransactionObject implementation that has transaction resource holder and basic transaction API-
Method Summary
Modifier and TypeMethodDescriptionvoidRollback (abort) the transactionvoidCommit the transactionvoidflush()boolean
-
Method Details
-
commitTransaction
public void commitTransaction()Commit the transaction -
abortTransaction
public void abortTransaction()Rollback (abort) the transaction -
isRollbackOnly
public boolean isRollbackOnly()- Specified by:
isRollbackOnlyin interfaceSmartTransactionObject
-
flush
public void flush()- Specified by:
flushin interfaceFlushable- Specified by:
flushin interfaceSmartTransactionObject
-