Sam,

The exception is thrown because you used a different instance to unlock. You
should always lock and unlock with the same instance in the same thread. The
lock you get from cache is the standard Java Lock and it has the same
semantics. The only difference is that it works in a distributed
environment.

-Val



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

Reply via email to