Re: Transactions and IgniteQueue

2017-11-03 Thread Evgenii Zhuravlev
/** * 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

Re: Transactions and IgniteQueue

2017-11-03 Thread Evgenii Zhuravlev
Yes, you could see it in the javadoc for Transaction class: 2017-11-03 14:43 GMT+03:00 arunkjn : > Thanks Evgenii. > > If I get a TransactionOptimisticException during the transaction will it be > thrown at the time of tx.commit() ? > > > > -- > Sent from:

Re: Transactions and IgniteQueue

2017-11-03 Thread arunkjn
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/

Re: Transactions and IgniteQueue

2017-11-03 Thread Evgenii Zhuravlev
Hi Arun, As for now, IgniteTransaction works only for caches. You can find information about it in documentation: https://apacheignite.readme.io/docs/transactions#section-ignitetransactions Evgenii 2017-11-03 12:43 GMT+03:00 arunkjn : > Hi, > > I am using an optimistic