Alex Rogachevsky wrote
> Thanks. I remember thinking about that when I implemented that framework
> feature, but something prevented me from doing it. I think I didn't want
> to do an extra step and check if the cache exists. I want it to be a
> one-step atomic operation. Let me revisit it.

Alex,

I don't think you need any additional steps, just use
Ignite.getOrCreateCache() method. It will do all required synchronization
internally.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Named-cluster-wide-lock-tp1115p1130.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to