public interface ClientTransaction extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Ends the transaction.
|
void |
commit()
Commits this transaction.
|
void |
rollback()
Rolls back this transaction.
|
void commit() throws ClientServerError, ClientException
ClientException
- If the transaction is already closed or transaction was started by another thread.ClientServerError
- If commit failed.void rollback() throws ClientServerError, ClientException
ClientServerError
- If rollback failed.ClientException
void close()
close
in interface AutoCloseable
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021