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 09:03:31 GMT
Hi Ravi,

Method IgniteCache.lock(K) returns instance of Lock object. Use
Lock.unlock() on this object to unlock the key.

Vladimir.

On Thu, Feb 11, 2016 at 10:57 AM, Ravi <ravikumarpuri04@gmail.com> wrote:

> how it can be performed as i want to lock a particular key and then unlock
> it.Suggest me the way how can i check whether key is locked or not?
>
>
> cache.lock(key)- it locks the key
> but how to unlock the key??
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/lock-and-unlock-the-cache-key-tp2950.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Mime
View raw message