ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Ozerov <voze...@gridgain.com>
Subject Re: lock and unlock the cache key?
Date Thu, 11 Feb 2016 10:27:33 GMT
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.
>

Mime
View raw message