ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: understanding Locks usage
Date Wed, 07 Sep 2016 02:32:29 GMT

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


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.

View raw message