Ignite performs implicit locking within transactions.
The moment, when it does so depends on its concurrency and isolation level.
Take a look at the documentation:
https://apacheignite.readme.io/docs/transactions

Here is an example of using transactions: CacheTransactionExample
<https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheTransactionExample.java>

You can also get explicit locks, but they cannot be used within
transactions: https://apacheignite.readme.io/docs/distributed-locks

Ignite also has distributed latches
<https://apacheignite.readme.io/docs/countdownlatch>. I don't recommend
using them within transactions, since it may make transactions too long.
It's better to start a transaction once you've finished waiting on a latch.

Denis

сб, 19 мая 2018 г. в 18:02, zhouxy1123 <zhouxy1...@sina.com>:

> Dose Iginte implement lock and latch in transaction,and where is the code ?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to