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 org.apache.ignite.internal.client.thin.ClientServerError, ClientException
ClientException
- If the transaction is already closed or transaction was started by another thread.org.apache.ignite.internal.client.thin.ClientServerError
- If commit failed.void rollback() throws org.apache.ignite.internal.client.thin.ClientServerError, ClientException
org.apache.ignite.internal.client.thin.ClientServerError
- If rollback failed.ClientException
void close()
close
in interface AutoCloseable
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024