public interface TransactionProxy extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Ends the transaction.
|
void |
commit()
Commits this transaction.
|
void |
rollback()
Rolls back this transaction.
|
boolean |
setRollbackOnly()
Modify the transaction associated with the current thread such that the
only possible outcome of the transaction is to roll back the
transaction.
|
void commit()
void rollback()
void close()
close
in interface AutoCloseable
boolean setRollbackOnly()
True
if rollback-only flag was set as a result of this operation,
false
if it was already set prior to this call or could not be set
because transaction is already finishing up committing or rolling back.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021