Ravi,

Please clarify what long do you mean?

Here is short code snippet showing lock/unlock cycle:

IgniteCache cache = ...;
Lock lock = cache.lock(key);
lock.unlock();

Vladimir.


On Thu, Feb 11, 2016 at 1:12 PM, Ravi <ravikumarpuri04@gmail.com> wrote:
Lock.unlock(long) here long is needed but i want unlock object as key??
as i locked using IgniteCache.lock(key).?





--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/lock-and-unlock-the-cache-key-tp2950p2954.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.