ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evgenii Zhuravlev <e.zhuravlev...@gmail.com>
Subject Re: Transactions and IgniteQueue
Date Fri, 03 Nov 2017 14:37:08 GMT
/**
 * 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 <e.zhuravlev.wk@gmail.com>:

> Yes, you could see it in the javadoc for Transaction class:
>
>
> 2017-11-03 14:43 GMT+03:00 arunkjn <arunkjn@gmail.com>:
>
>> 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/
>>
>
>

Mime
View raw message