Frankly, I am quite perplexed that the simplest of the API (getOrCreate) can
potentially deadlock the application.

1. Can you please tell me how to use Locks then? If an application has a
need to create a cache and it has a need to use Lock/unlock block, if the
getOrCreate happens to occur in one thread at a time when another locking
thread is in the middle of the lock-unlock block, is that a deadlock? Thats
what we are seeing





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to