/**
* Commits this transaction by initiating {@code two-phase-commit} process.
*
* @throws IgniteException If commit failed.
* @throws TransactionTimeoutException If transaction is timed out.
* @throws TransactionRollbackException If transaction is
automatically rolled back.
* @throws TransactionOptimisticException If transaction concurrency
is {@link TransactionConcurrency#OPTIMISTIC}
* and commit is optimistically failed.
* @throws TransactionHeuristicException If transaction has entered an
unknown state.
*/
@IgniteAsyncSupported
public void commit() throws IgniteException;
2017-11-03 17:36 GMT+03:00 Evgenii Zhuravlev <[email protected]>:
> Yes, you could see it in the javadoc for Transaction class:
>
>
> 2017-11-03 14:43 GMT+03:00 arunkjn <[email protected]>:
>
>> Thanks Evgenii.
>>
>> If I get a TransactionOptimisticException during the transaction will it
>> be
>> thrown at the time of tx.commit() ?
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>>
>
>