Sam,

Data access semantics are provided by transactions. You have different
concurrency mode and isolation level to control it. There is no much sense
to use lock for this.

Answering other questions:
1. You have tryLock method timeout. Once again, Ignite lock provides
everything that is available in Java lock (it actually implements the
interface). If the node that locked an entry fails, this entry will be
unlocked right away.
2. Generally transactional cache is around 2 times slower.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/understanding-Locks-usage-tp7489p7614.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to